File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ class Tree
149149  [[nodiscard]] Blackboard::Ptr rootBlackboard ();
150150
151151  // 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 ;
153153
154154  // Call the visitor for each node of the tree.
155155  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()
597597  return  {};
598598}
599599
600- void  Tree::applyVisitor (const  std::function<void (const  TreeNode*)>& visitor)
600+ void  Tree::applyVisitor (const  std::function<void (const  TreeNode*)>& visitor)  const 
601601{
602602  BT::applyRecursiveVisitor (static_cast <const  TreeNode*>(rootNode ()), visitor);
603603}
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments