{
if(uri.back() == '/')
{
- uri.pop_back();
+ uri.resize(uri.size()-1);
}
ostringstream paramsList;
CXX=g++
#CXX=clang -lstdc++ -g
-CXX_FLAGS=-std=c++11 -Wall -pthread
+CXX_FLAGS=-std=c++0x -Wall -pthread
CXX_INC=-I../OCProject/include/ -I../OCProject/OCLib/ -I../OCProject/OCLib/OCWrapper/ -I../OCProject/OCLib/OCWrapper/server -I../OCProject/OCLib/OCWrapper/client/ -I../OCProject/csdk/
OUT_DIR := $(PWD)/$(BUILD)
OBJ_DIR := $(OUT_DIR)/obj
-CXX_FLAGS.debug := -g3 -std=c++11 -Wall -pthread
+CXX_FLAGS.debug := -g3 -std=c++0x -Wall -pthread
-CXX_FLAGS.release := -std=c++11 -Wall -pthread
+CXX_FLAGS.release := -std=c++0x -Wall -pthread
CXX_INC := -I../include/
CXX_INC += -I./client/
CXX=g++
-CXX_FLAGS=-std=c++11 -Wall -pthread
+CXX_FLAGS=-std=c++0x -Wall -pthread
final: server client serverApp
OBJ_DIR := $(OUT_DIR)/obj
SAMPLES_OUT_DIR := $(OUT_DIR)/samples
-CXX_FLAGS.debug := -g3 -std=c++11 -Wall -pthread
+CXX_FLAGS.debug := -g3 -std=c++0x -Wall -pthread
-CXX_FLAGS.release := -std=c++11 -Wall -pthread
+CXX_FLAGS.release := -std=c++0x -Wall -pthread
CXX_INC := -I./include/
CXX_INC += -I./csdk/stack/include