We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6b7301 + f8f2751 commit 0d1559cCopy full SHA for 0d1559c
include/swift/Threading/Impl/C11.h
@@ -95,7 +95,7 @@ struct lazy_mutex_handle {
95
std::int32_t once; // -1 = initialized, 0 = uninitialized, 1 = initializing
96
};
97
98
-#define SWIFT_LAZY_MUTEX_INITIALIZER ((lazy_mutex_handle){})
+#define SWIFT_LAZY_MUTEX_INITIALIZER ((threading_impl::lazy_mutex_handle){})
99
100
inline void lazy_mutex_init(lazy_mutex_handle &handle) {
101
// Sadly, we can't use call_once() for this as it doesn't have a context
0 commit comments