default arg in header

This commit is contained in:
Robert Haschke 2018-02-04 22:12:13 +01:00
parent 3a4dc6755b
commit e9d0a05f75
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ namespace moveit { namespace task_constructor { namespace stages {
class CurrentState : public Generator {
public:
CurrentState(std::string name);
CurrentState(const std::string& name = "current state");
void init(const planning_scene::PlanningSceneConstPtr& scene) override;
bool canCompute() const override;

View File

@ -39,7 +39,7 @@
namespace moveit { namespace task_constructor { namespace stages {
CurrentState::CurrentState(std::string name = "current state")
CurrentState::CurrentState(const std::string &name)
: Generator(name)
{
ran_= false;