Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
facontidavide committed Sep 21, 2024
1 parent 208eacf commit c9dea7b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
4 changes: 1 addition & 3 deletions src/controls/fallback_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
namespace BT
{
FallbackNode::FallbackNode(const std::string& name, bool make_asynch)
: ControlNode::ControlNode(name, {})
, current_child_idx_(0)
, asynch_(make_asynch)
: ControlNode::ControlNode(name, {}), current_child_idx_(0), asynch_(make_asynch)
{
if(asynch_)
setRegistrationID("AsyncFallback");
Expand Down
4 changes: 1 addition & 3 deletions src/controls/sequence_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@
namespace BT
{
SequenceNode::SequenceNode(const std::string& name, bool make_async)
: ControlNode::ControlNode(name, {})
, current_child_idx_(0)
, asynch_(make_async)
: ControlNode::ControlNode(name, {}), current_child_idx_(0), asynch_(make_async)
{
if(asynch_)
setRegistrationID("AsyncSequence");
Expand Down
1 change: 0 additions & 1 deletion tests/gtest_preconditions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,6 @@ TEST(Preconditions, Remapping)
ASSERT_EQ(counters[1], 3);
}


TEST(Preconditions, WhileCallsOnHalt)
{
static constexpr auto xml_text = R"(
Expand Down

0 comments on commit c9dea7b

Please sign in to comment.