Skip to content
Snippets Groups Projects
Commit 5fbbd9d5 authored by Fabian Reister's avatar Fabian Reister
Browse files

const ref ret.

parent 2f8d0e66
No related branches found
No related tags found
No related merge requests found
......@@ -124,7 +124,7 @@ VirtualRobot::GraspSetPtr GraspableSensorizedObject::getGraspSet(const std::stri
return GraspSetPtr();
}
std::vector<GraspSetPtr> GraspableSensorizedObject::getAllGraspSets()
const std::vector<GraspSetPtr>& GraspableSensorizedObject::getAllGraspSets()
{
return graspSets;
}
......
......@@ -75,7 +75,7 @@ public:
/*!
Get grasp set vector
*/
std::vector<GraspSetPtr> getAllGraspSets();
const std::vector<GraspSetPtr>& getAllGraspSets();
virtual SensorPtr getSensor(const std::string& name) const;
virtual bool hasSensor(const std::string& name) const;
......
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