diff options
author | Dmitry Baksheev <dbakshee@yandex.ru> | 2022-02-10 16:48:12 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:12 +0300 |
commit | 0e38f1d675a0b3d02016acf698e8d04c0b224047 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /contrib/libs/cxxsupp/libcxx/include | |
parent | 17fe552c0aa936de030b2b72934d9688ab9bb1c6 (diff) | |
download | ydb-0e38f1d675a0b3d02016acf698e8d04c0b224047.tar.gz |
Restoring authorship annotation for Dmitry Baksheev <dbakshee@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/cxxsupp/libcxx/include')
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h | 6 | ||||
-rw-r--r-- | contrib/libs/cxxsupp/libcxx/include/type_traits | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h b/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h index ef0c34825e..e32bcf9073 100644 --- a/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h +++ b/contrib/libs/cxxsupp/libcxx/include/__support/win32/atomic_win32.h @@ -29,7 +29,7 @@ namespace __atomic { template <typename _Tp> _Tp __create(); template <typename _Tp, typename _Td> -enable_if_t<sizeof(__create<_Tp>() = __create<_Td>()), char> +enable_if_t<sizeof(__create<_Tp>() = __create<_Td>()), char> __test_atomic_assignable(int); template <typename _Tp, typename _Up> __two __test_atomic_assignable(...); @@ -92,7 +92,7 @@ static inline _Out __msvc_cast(_Tp __val) { char* from = reinterpret_cast<char*>(&__val); while (to != end) { *to++ = *from++; - } + } return __result; } @@ -210,7 +210,7 @@ static inline void __msvc_atomic_store64(volatile __int64* __a, __int64 __val, _InterlockedExchange64(__a, __val); #endif } -#endif +#endif } template <typename _Tp> diff --git a/contrib/libs/cxxsupp/libcxx/include/type_traits b/contrib/libs/cxxsupp/libcxx/include/type_traits index db776c17c0..8c91522074 100644 --- a/contrib/libs/cxxsupp/libcxx/include/type_traits +++ b/contrib/libs/cxxsupp/libcxx/include/type_traits @@ -2757,7 +2757,7 @@ inline constexpr bool is_destructible_v = __is_destructible(_Tp); #if defined(_LIBCPP_COMPILER_MSVC) template <typename _Tp> -struct is_destructible : integral_constant<bool, __is_destructible(_Tp)> {}; +struct is_destructible : integral_constant<bool, __is_destructible(_Tp)> {}; #else |