diff options
author | grand <grand@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:50:07 +0300 |
commit | a0e29f0026d32a60a618a620f30035c264346175 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /util/generic/typetraits_ut.cpp | |
parent | 7eb3862cccdb866e7e739123c8024ccec628bb62 (diff) | |
download | ydb-a0e29f0026d32a60a618a620f30035c264346175.tar.gz |
Restoring authorship annotation for <grand@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/generic/typetraits_ut.cpp')
-rw-r--r-- | util/generic/typetraits_ut.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/generic/typetraits_ut.cpp b/util/generic/typetraits_ut.cpp index 5568aea7c2..e7571c75ec 100644 --- a/util/generic/typetraits_ut.cpp +++ b/util/generic/typetraits_ut.cpp @@ -72,10 +72,10 @@ namespace { }; } -#define ASSERT_SAME_TYPE(x, y) \ - { \ - const bool x_ = std::is_same<x, y>::value; \ - UNIT_ASSERT_C(x_, #x " != " #y); \ +#define ASSERT_SAME_TYPE(x, y) \ + { \ + const bool x_ = std::is_same<x, y>::value; \ + UNIT_ASSERT_C(x_, #x " != " #y); \ } Y_UNIT_TEST_SUITE(TTypeTraitsTest) { @@ -132,9 +132,9 @@ Y_UNIT_TEST_SUITE(TTypeTraitsTest) { bool a; - a = std::is_same<typename TTypeTraits<T>::TFuncParam, T>::value; + a = std::is_same<typename TTypeTraits<T>::TFuncParam, T>::value; UNIT_ASSERT(a); - a = std::is_same<typename TTypeTraits<const volatile T>::TFuncParam, const volatile T>::value; + a = std::is_same<typename TTypeTraits<const volatile T>::TFuncParam, const volatile T>::value; UNIT_ASSERT(a); } |