Skip to content

Commit

Permalink
Fix typo in FallbackNode constructor parameter name (#830)
Browse files Browse the repository at this point in the history
  • Loading branch information
shkwon98 committed May 30, 2024
1 parent d8cd725 commit a1f431c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion include/behaviortree_cpp/controls/fallback_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ namespace BT
class FallbackNode : public ControlNode
{
public:
FallbackNode(const std::string& name, bool make_aynch = false);
FallbackNode(const std::string& name, bool make_asynch = false);

virtual ~FallbackNode() override = default;

Expand Down
4 changes: 2 additions & 2 deletions src/controls/fallback_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@

namespace BT
{
FallbackNode::FallbackNode(const std::string& name, bool make_aynch)
FallbackNode::FallbackNode(const std::string& name, bool make_asynch)
: ControlNode::ControlNode(name, {})
, current_child_idx_(0)
, all_skipped_(true)
, asynch_(make_aynch)
, asynch_(make_asynch)
{
if(asynch_)
setRegistrationID("AsyncFallback");
Expand Down

0 comments on commit a1f431c

Please sign in to comment.