Skip to content

Commit bac64f3

Browse files
committed
More macro namespace qualification hygiene
NFC
1 parent 6f806b4 commit bac64f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Basic/Lazy.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ namespace swift {
2626
#ifdef __APPLE__
2727
using OnceToken_t = dispatch_once_t;
2828
# define SWIFT_ONCE_F(TOKEN, FUNC, CONTEXT) \
29-
dispatch_once_f(&TOKEN, CONTEXT, FUNC)
29+
::dispatch_once_f(&TOKEN, CONTEXT, FUNC)
3030
#else
3131
using OnceToken_t = std::once_flag;
3232
# define SWIFT_ONCE_F(TOKEN, FUNC, CONTEXT) \
33-
std::call_once(TOKEN, FUNC, CONTEXT)
33+
::std::call_once(TOKEN, FUNC, CONTEXT)
3434
#endif
3535

3636
/// A template for lazily-constructed, zero-initialized, leaked-on-exit

0 commit comments

Comments
 (0)