Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 963c169

Browse files
Merge pull request BehaviorTree#162 from unvestigate/master
Tree is declared as a struct, so it needs to be forward-declared as a…
2 parents 460d649 + c036482 commit 963c169

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp_v3/tree_node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class TreeNode
153153
friend class BehaviorTreeFactory;
154154
friend class DecoratorNode;
155155
friend class ControlNode;
156-
friend class Tree;
156+
friend struct Tree;
157157

158158
// Only BehaviorTreeFactory should call this
159159
void setRegistrationID(StringView ID)

0 commit comments

Comments
 (0)