Skip to content
Snippets Groups Projects
Commit 94400790 authored by Raphael Grimm's avatar Raphael Grimm
Browse files

Add const end / begin to RobotNodeSet

parent 71e5583b
No related branches found
No related tags found
No related merge requests found
......@@ -139,11 +139,19 @@ namespace VirtualRobot
RobotNodePtr& getNode(int i);
// implement container interface for easy access
inline NodeContainerIterT begin()
inline auto begin()
{
return robotNodes.begin();
}
inline NodeContainerIterT end()
inline auto end()
{
return robotNodes.end();
}
inline auto begin() const
{
return robotNodes.begin();
}
inline auto end() const
{
return robotNodes.end();
}
......
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