diff options
Diffstat (limited to 'lib/libcxx/src/ios.cpp')
| -rw-r--r-- | lib/libcxx/src/ios.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcxx/src/ios.cpp b/lib/libcxx/src/ios.cpp index a8a99015a9..56fbcca417 100644 --- a/lib/libcxx/src/ios.cpp +++ b/lib/libcxx/src/ios.cpp @@ -1,4 +1,4 @@ -//===-------------------------- ios.cpp -----------------------------------===// +//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. @@ -137,7 +137,7 @@ ios_base::getloc() const // xalloc #if defined(_LIBCPP_HAS_C_ATOMIC_IMP) && !defined(_LIBCPP_HAS_NO_THREADS) -atomic<int> ios_base::__xindex_ = ATOMIC_VAR_INIT(0); +atomic<int> ios_base::__xindex_{0}; #else int ios_base::__xindex_ = 0; #endif |
