From bd680139d084b673d1f56d0e63e01936c4680a91 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Fri, 1 Jul 2022 16:31:47 -0700 Subject: update libcxx to llvm 14.0.6 --- lib/libcxx/src/ios.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libcxx/src/ios.cpp') 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 ios_base::__xindex_ = ATOMIC_VAR_INIT(0); +atomic ios_base::__xindex_{0}; #else int ios_base::__xindex_ = 0; #endif -- cgit v1.2.3