Commit 45f055e1 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Fix prototype of two functions

parent 6b4e64e3
......@@ -17,13 +17,13 @@ namespace hpp {
Roadmap (plugin), plugin_ (plugin)
{}
void ManipulationRoadmap::initRoadmapFromJoint (const std::string jointName)
void ManipulationRoadmap::initRoadmapFromJoint (const std::string& jointName)
{
Roadmap::initRoadmapFromJoint (jointName);
nodeColorMap_ = gepetto::gui::ColorMap ((1 << 7) - 1);
}
void ManipulationRoadmap::initRoadmapFromBody (const std::string bodyName)
void ManipulationRoadmap::initRoadmapFromBody (const std::string& bodyName)
{
Roadmap::initRoadmapFromBody (bodyName);
nodeColorMap_ = gepetto::gui::ColorMap ((1 << 7) - 1);
......
......@@ -22,9 +22,9 @@ namespace hpp {
virtual ~ManipulationRoadmap () {}
virtual void initRoadmapFromJoint (const std::string jointName);
virtual void initRoadmapFromJoint (const std::string& jointName);
virtual void initRoadmapFromBody (const std::string bodyName);
virtual void initRoadmapFromBody (const std::string& bodyName);
virtual void nodeColor (NodeID nodeId, Color& color);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment