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.
1 parent 6f806b4 commit bac64f3Copy full SHA for bac64f3
include/swift/Basic/Lazy.h
@@ -26,11 +26,11 @@ namespace swift {
26
#ifdef __APPLE__
27
using OnceToken_t = dispatch_once_t;
28
# define SWIFT_ONCE_F(TOKEN, FUNC, CONTEXT) \
29
- dispatch_once_f(&TOKEN, CONTEXT, FUNC)
+ ::dispatch_once_f(&TOKEN, CONTEXT, FUNC)
30
#else
31
using OnceToken_t = std::once_flag;
32
33
- std::call_once(TOKEN, FUNC, CONTEXT)
+ ::std::call_once(TOKEN, FUNC, CONTEXT)
34
#endif
35
36
/// A template for lazily-constructed, zero-initialized, leaked-on-exit
0 commit comments