mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
default arg in header
This commit is contained in:
parent
3a4dc6755b
commit
e9d0a05f75
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user