Skip to content

Commit c9dea7b

Browse files
committed
fix formatting
1 parent 208eacf commit c9dea7b

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

src/controls/fallback_node.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
namespace BT
1717
{
1818
FallbackNode::FallbackNode(const std::string& name, bool make_asynch)
19-
: ControlNode::ControlNode(name, {})
20-
, current_child_idx_(0)
21-
, asynch_(make_asynch)
19+
: ControlNode::ControlNode(name, {}), current_child_idx_(0), asynch_(make_asynch)
2220
{
2321
if(asynch_)
2422
setRegistrationID("AsyncFallback");

src/controls/sequence_node.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
namespace BT
1717
{
1818
SequenceNode::SequenceNode(const std::string& name, bool make_async)
19-
: ControlNode::ControlNode(name, {})
20-
, current_child_idx_(0)
21-
, asynch_(make_async)
19+
: ControlNode::ControlNode(name, {}), current_child_idx_(0), asynch_(make_async)
2220
{
2321
if(asynch_)
2422
setRegistrationID("AsyncSequence");

tests/gtest_preconditions.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ TEST(Preconditions, Remapping)
364364
ASSERT_EQ(counters[1], 3);
365365
}
366366

367-
368367
TEST(Preconditions, WhileCallsOnHalt)
369368
{
370369
static constexpr auto xml_text = R"(

0 commit comments

Comments
 (0)