Skip to content

Commit 239bac9

Browse files
committed
fix: Rename scoped lock so it doesn't hide the outer lock triggering a compiler warning
1 parent b3c3c25 commit 239bac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/behaviortree_cpp/blackboard.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ class Blackboard
143143
// this is not the first time we set this entry, we need to check
144144
// if the type is the same or not.
145145
Entry& entry = *it->second;
146-
std::scoped_lock lock(entry.entry_mutex);
146+
std::scoped_lock scoped_lock(entry.entry_mutex);
147147

148148
Any& previous_any = entry.value;
149149

0 commit comments

Comments
 (0)