Skip to content

Commit 4428f00

Browse files
committed
fix issue BehaviorTree#227
1 parent bde7fc5 commit 4428f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp_v3/blackboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class Blackboard
149149

150150
Any temp(value);
151151

152-
if( locked_type && locked_type != &typeid(T) && locked_type != &temp.type() )
152+
if( locked_type && *locked_type != typeid(T) && *locked_type != temp.type() )
153153
{
154154
bool mismatching = true;
155155
if( std::is_constructible<StringView, T>::value )

0 commit comments

Comments
 (0)