Skip to content

Commit

Permalink
make config public to work with old stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryLeMasurier committed Apr 4, 2024
1 parent 46e7f6a commit 00d9a5d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/behaviortree_cpp/tree_node.h
Original file line number Diff line number Diff line change
Expand Up @@ -336,14 +336,15 @@ class TreeNode
return str;
}

[[nodiscard]] NodeConfig& config();


protected:
friend class BehaviorTreeFactory;
friend class DecoratorNode;
friend class ControlNode;
friend class Tree;

[[nodiscard]] NodeConfig& config();

/// Method to be implemented by the user
virtual BT::NodeStatus tick() = 0;

Expand Down

0 comments on commit 00d9a5d

Please sign in to comment.