| 102 | } |
| 103 | |
| 104 | bool AbsBehaviorTree::operator ==(const AbsBehaviorTree &other) const |
| 105 | { |
| 106 | if( _nodes.size() != other._nodes.size() ) return false; |
| 107 | |
| 108 | for (size_t index = 0; index < _nodes.size(); index++) |
| 109 | { |
| 110 | if( _nodes[index] != other._nodes[index]) return false; |
| 111 | } |
| 112 | return true; |
| 113 | } |
| 114 | |
| 115 | |
| 116 |
nothing calls this directly
no outgoing calls
no test coverage detected