Skip to content
Snippets Groups Projects
Commit 77be90ad authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

make function const

parent e6e9489e
No related branches found
No related tags found
2 merge requests!30Release after RAL,!29After 2nd RAL submission
......@@ -200,7 +200,7 @@ class LandmarkPolyline2D : public LandmarkBase
/** \brief Adds all stateBlocks of the frame to the wolfProblem list of new stateBlocks
**/
virtual void registerNewStateBlocks();
virtual void registerNewStateBlocks() const;
virtual void removeStateBlocks();
/** Factory method to create new landmarks from YAML nodes
......
......@@ -907,7 +907,7 @@ void LandmarkPolyline2D::mergeLandmark(const LandmarkPolyline2DPtr _merged_lmk,
//std::cout << "\tLandmark deleted\n";
}
void LandmarkPolyline2D::registerNewStateBlocks()
void LandmarkPolyline2D::registerNewStateBlocks() const
{
LandmarkBase::registerNewStateBlocks();
if (getProblem())
......
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