aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp
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
commite7c30eecd571c69c5b7395fd66ff676f65f93cc7 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp
parent12a55ee3841460c4a0b2092368585a28067f85b3 (diff)
downloadydb-e7c30eecd571c69c5b7395fd66ff676f65f93cc7.tar.gz
Restoring authorship annotation for <alexanderplat@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-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 be5ac19060..894364aa43 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
{