Skip to content
Snippets Groups Projects
Commit 726580d1 authored by jcarpent's avatar jcarpent
Browse files

[C++] Correct for GCC

parent 512552a8
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ namespace se3 ...@@ -55,7 +55,7 @@ namespace se3
} }
// Open file // Open file
std::ifstream srdf_stream(filename); std::ifstream srdf_stream(filename.c_str());
if (! srdf_stream.is_open()) if (! srdf_stream.is_open())
{ {
const std::string exception_message (filename + " does not seem to be a valid file."); const std::string exception_message (filename + " does not seem to be a valid file.");
......
...@@ -175,7 +175,7 @@ namespace se3 ...@@ -175,7 +175,7 @@ namespace se3
} }
inline std::pair<Model, GeometryModel> buildModelAndGeom(const std::string & filename, inline std::pair<Model, GeometryModel> buildModelAndGeom(const std::string & filename,
const std::string & meshRootDir) const std::string & meshRootDir)
{ {
// Read model // Read model
Model model; Model model;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment