We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae95e68 commit 65504b0Copy full SHA for 65504b0
include/behaviortree_cpp/bt_factory.h
@@ -162,7 +162,7 @@ class Tree
162
/// move_nodes = tree.getNodesByPath<MoveBaseNode>("move_*");
163
///
164
template <typename NodeType = BT::TreeNode> [[nodiscard]]
165
- std::vector<const TreeNode*> getNodesByPath(StringView wildcard_filter) {
+ std::vector<const TreeNode*> getNodesByPath(StringView wildcard_filter) const {
166
std::vector<const TreeNode*> nodes;
167
for (auto const& subtree : subtrees) {
168
for (auto const& node : subtree->nodes) {
0 commit comments