aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authoralexanderplat <alexanderplat@yandex-team.ru>2022-02-10 16:50:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:48 +0300
commit12a55ee3841460c4a0b2092368585a28067f85b3 (patch)
tree749e075a8479a77dfabb9ba6e2550c7262ca626e /library
parent2ee4b26133812e990e7958fc1863d8d5f8ee7f7b (diff)
downloadydb-12a55ee3841460c4a0b2092368585a28067f85b3.tar.gz
Restoring authorship annotation for <alexanderplat@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library')
-rw-r--r--library/cpp/yt/misc/enum.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/library/cpp/yt/misc/enum.h b/library/cpp/yt/misc/enum.h
index 894364aa43..be5ac19060 100644
--- a/library/cpp/yt/misc/enum.h
+++ b/library/cpp/yt/misc/enum.h
@@ -22,15 +22,15 @@ namespace NYT {
* (unittests/enum_ut.cpp).
*/
-// Actual overload must be provided with defines DEFINE_ENUM_XXX (see below).
-template <class T>
-void GetEnumTraitsImpl(T);
-
+// Actual overload must be provided with defines DEFINE_ENUM_XXX (see below).
+template <class T>
+void GetEnumTraitsImpl(T);
+
template <
class T,
- bool = std::is_enum<T>::value &&
- !std::is_convertible<T, int>::value &&
- !std::is_same<void, decltype(GetEnumTraitsImpl(T()))>::value
+ bool = std::is_enum<T>::value &&
+ !std::is_convertible<T, int>::value &&
+ !std::is_same<void, decltype(GetEnumTraitsImpl(T()))>::value
>
struct TEnumTraits
{