We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b3c3c25 + f47875d commit 17e5967Copy full SHA for 17e5967
3rdparty/minitrace/minitrace.cpp
@@ -12,7 +12,9 @@
12
13
#ifdef _WIN32
14
#pragma warning (disable:4996)
15
+#ifndef WIN32_LEAN_AND_MEAN
16
#define WIN32_LEAN_AND_MEAN
17
+#endif
18
#include <windows.h>
19
#define __thread __declspec(thread)
20
#define pthread_mutex_t CRITICAL_SECTION
include/behaviortree_cpp/blackboard.h
@@ -143,7 +143,7 @@ class Blackboard
143
// this is not the first time we set this entry, we need to check
144
// if the type is the same or not.
145
Entry& entry = *it->second;
146
- std::scoped_lock lock(entry.entry_mutex);
+ std::scoped_lock scoped_lock(entry.entry_mutex);
147
148
Any& previous_any = entry.value;
149
0 commit comments