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 | 17fe552c0aa936de030b2b72934d9688ab9bb1c6 (patch) | |
tree | 9ee66fb456a7ca163946c7aace3a31e69ca47e7f /contrib/libs/cxxsupp/libcxx/include | |
parent | 2909866fbc652492b7d7cab3023cb19489dc4fd8 (diff) | |
download | ydb-17fe552c0aa936de030b2b72934d9688ab9bb1c6.tar.gz |
Restoring authorship annotation for Dmitry Baksheev <dbakshee@yandex.ru>. Commit 1 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 e32bcf9073..ef0c34825e 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 8c91522074..db776c17c0 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 |