Skip to content

Commit e23793b

Browse files
committed
cleanup
1 parent 9203665 commit e23793b

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

include/behaviortree_cpp/control_node.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
namespace BT
2121
{
22-
2322
class ControlNode : public TreeNode
2423
{
2524
protected:

include/behaviortree_cpp/tree_node.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,8 @@
3030

3131
namespace BT
3232
{
33-
3433
class ControlNode;
3534

36-
3735
/// This information is used mostly by the XMLParser.
3836
struct TreeNodeManifest
3937
{
@@ -192,8 +190,6 @@ class TreeNode
192190
NodeConfiguration config_;
193191

194192
std::string registration_ID_;
195-
196-
197193
};
198194

199195
//-------------------------------------------------------

src/control_node.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ void ControlNode::addChild(TreeNode* child)
2727
children_nodes_.push_back(child);
2828
}
2929

30-
31-
32-
3330
unsigned ControlNode::childrenCount() const
3431
{
3532
return unsigned(children_nodes_.size());
@@ -61,14 +58,11 @@ void ControlNode::haltChildren(unsigned i)
6158

6259
void ControlNode::propagateHalt(unsigned i)
6360
{
64-
// std::cout << name() << " received a request to propagate halt from index " << i + 1 << std::endl;
65-
6661
haltChildren(i + 1);
6762
if (parent_prt_ != nullptr)
6863
{
6964
((ControlNode*)parent_prt_)->propagateHalt(child_index_);
7065
}
7166
}
7267

73-
7468
} // end namespace

0 commit comments

Comments
 (0)