Skip to content

Commit a1f431c

Browse files
authored
Fix typo in FallbackNode constructor parameter name (#830)
1 parent d8cd725 commit a1f431c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

include/behaviortree_cpp/controls/fallback_node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace BT
3232
class FallbackNode : public ControlNode
3333
{
3434
public:
35-
FallbackNode(const std::string& name, bool make_aynch = false);
35+
FallbackNode(const std::string& name, bool make_asynch = false);
3636

3737
virtual ~FallbackNode() override = default;
3838

src/controls/fallback_node.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515

1616
namespace BT
1717
{
18-
FallbackNode::FallbackNode(const std::string& name, bool make_aynch)
18+
FallbackNode::FallbackNode(const std::string& name, bool make_asynch)
1919
: ControlNode::ControlNode(name, {})
2020
, current_child_idx_(0)
2121
, all_skipped_(true)
22-
, asynch_(make_aynch)
22+
, asynch_(make_asynch)
2323
{
2424
if(asynch_)
2525
setRegistrationID("AsyncFallback");

0 commit comments

Comments
 (0)