Skip to content

Commit 6fdc6ab

Browse files
committed
changing resetStatus to public
1 parent dfa7abc commit 6fdc6ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/behaviortree_cpp_v3/tree_node.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ class TreeNode
182182
// Notify the tree should be ticked again()
183183
void emitStateChanged();
184184

185+
/// Equivalent to setStatus(NodeStatus::IDLE)
186+
void resetStatus();
187+
185188
protected:
186189
/// Method to be implemented by the user
187190
virtual BT::NodeStatus tick() = 0;
@@ -222,9 +225,6 @@ class TreeNode
222225
PostTickOverrideCallback post_condition_callback_;
223226

224227
std::shared_ptr<WakeUpSignal> wake_up_;
225-
226-
/// Equivalent to setStatus(NodeStatus::IDLE)
227-
void resetStatus();
228228
};
229229

230230
//-------------------------------------------------------

0 commit comments

Comments
 (0)