diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..378eac2 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +build diff --git a/CMakeLists.txt b/CMakeLists.txt index 6b4f3ea..c7193fc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,8 @@ include(FindPkgConfig) find_package(lib_manager) define_module_info() +add_definitions(-std=c++11) + #find_package(Doxygen) #if(DOXYGEN_FOUND) #configure_file(${CMAKE_CURRENT_SOURCE_DIR}/doc/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY) diff --git a/src/SMURFParser.cpp b/src/SMURFParser.cpp index 1cbe804..b460f6c 100644 --- a/src/SMURFParser.cpp +++ b/src/SMURFParser.cpp @@ -30,7 +30,7 @@ namespace smurf_parser { - boost::shared_ptr parseFile(configmaps::ConfigMap* map, + std::shared_ptr parseFile(configmaps::ConfigMap* map, std::string path, std::string smurffilename, bool expandURIs) { path+="/"; // secure that path and file are combined correctly @@ -54,9 +54,9 @@ namespace smurf_parser { // parse URDF model and return fprintf(stderr, " ...loading urdf data from %s.\n", urdfpath.c_str()); - boost::shared_ptr model = urdf::parseURDFFile(urdfpath); + std::shared_ptr model = urdf::parseURDFFile(urdfpath); if (!model) { - return boost::shared_ptr(); + return std::shared_ptr(); } return model; } diff --git a/src/SMURFParser.h b/src/SMURFParser.h index 8c8f056..c4b00a6 100644 --- a/src/SMURFParser.h +++ b/src/SMURFParser.h @@ -35,7 +35,7 @@ namespace smurf_parser { - boost::shared_ptr parseFile(configmaps::ConfigMap* map, + std::shared_ptr parseFile(configmaps::ConfigMap* map, std::string path, std::string smurffilename, bool expandURIs); } // end of namespace smurf_parser