aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cxxsupp/libcxxmsvc/.yandex_meta/patches/60-random-shuffle.patch
blob: e533407c833493f2d356d24927883e6624a71243 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/random_shuffle.cpp b/src/random_shuffle.cpp
index e9087a9..a673035 100644
--- a/src/random_shuffle.cpp
+++ b/src/random_shuffle.cpp
@@ -19,7 +19,7 @@
 _LIBCPP_BEGIN_NAMESPACE_STD
 
 #ifndef _LIBCPP_HAS_NO_THREADS
-static constinit __libcpp_mutex_t __rs_mut = _LIBCPP_MUTEX_INITIALIZER;
+static _LIBCPP_CONSTINIT __libcpp_mutex_t __rs_mut = _LIBCPP_MUTEX_INITIALIZER;
 #endif
 unsigned __rs_default::__c_ = 0;