File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ class Tree
149
149
[[nodiscard]] Blackboard::Ptr rootBlackboard ();
150
150
151
151
// Call the visitor for each node of the tree.
152
- void applyVisitor (const std::function<void (const TreeNode*)>& visitor);
152
+ void applyVisitor (const std::function<void (const TreeNode*)>& visitor) const ;
153
153
154
154
// Call the visitor for each node of the tree.
155
155
void applyVisitor (const std::function<void (TreeNode*)>& visitor);
Original file line number Diff line number Diff line change @@ -597,7 +597,7 @@ Blackboard::Ptr Tree::rootBlackboard()
597
597
return {};
598
598
}
599
599
600
- void Tree::applyVisitor (const std::function<void (const TreeNode*)>& visitor)
600
+ void Tree::applyVisitor (const std::function<void (const TreeNode*)>& visitor) const
601
601
{
602
602
BT::applyRecursiveVisitor (static_cast <const TreeNode*>(rootNode ()), visitor);
603
603
}
You can’t perform that action at this time.
0 commit comments