aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/misc/enum.h
diff options
context:
space:
mode:
authorlevysotsky <levysotsky@yandex-team.ru>2022-02-10 16:47:29 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:47:29 +0300
commit32b231c8474a1ade4bdf776ade6a20341691d9d7 (patch)
tree9814fbd1c3effac9b8377c5d604b367b14e2db55 /library/cpp/yt/misc/enum.h
parent57f874ffc2a75047c1c4fea7a9fc86cb0f56ed50 (diff)
downloadydb-32b231c8474a1ade4bdf776ade6a20341691d9d7.tar.gz
Restoring authorship annotation for <levysotsky@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/yt/misc/enum.h')
-rw-r--r--library/cpp/yt/misc/enum.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/library/cpp/yt/misc/enum.h b/library/cpp/yt/misc/enum.h
index 97c62cac934..894364aa43b 100644
--- a/library/cpp/yt/misc/enum.h
+++ b/library/cpp/yt/misc/enum.h
@@ -108,16 +108,16 @@ struct TEnumTraits<T, true>
#define DEFINE_ENUM_WITH_UNDERLYING_TYPE(name, underlyingType, seq) \
ENUM__CLASS(name, underlyingType, seq) \
ENUM__BEGIN_TRAITS(name, underlyingType, false, false, seq) \
- ENUM__MINMAX \
- ENUM__VALIDATE_UNIQUE(name) \
- ENUM__END_TRAITS(name)
+ ENUM__MINMAX \
+ ENUM__VALIDATE_UNIQUE(name) \
+ ENUM__END_TRAITS(name)
//! Defines a smart enumeration with a specific underlying type.
//! Duplicate enumeration values are allowed.
#define DEFINE_AMBIGUOUS_ENUM_WITH_UNDERLYING_TYPE(name, underlyingType, seq) \
ENUM__CLASS(name, underlyingType, seq) \
ENUM__BEGIN_TRAITS(name, underlyingType, false, false, seq) \
- ENUM__MINMAX \
+ ENUM__MINMAX \
ENUM__END_TRAITS(name)
//! Defines a smart enumeration with the default |int| underlying type.
@@ -133,8 +133,8 @@ struct TEnumTraits<T, true>
#define DEFINE_BIT_ENUM_WITH_UNDERLYING_TYPE(name, underlyingType, seq) \
ENUM__CLASS(name, underlyingType, seq) \
ENUM__BEGIN_TRAITS(name, underlyingType, true, false, seq) \
- ENUM__DECOMPOSE \
- ENUM__VALIDATE_UNIQUE(name) \
+ ENUM__DECOMPOSE \
+ ENUM__VALIDATE_UNIQUE(name) \
ENUM__END_TRAITS(name) \
ENUM__BITWISE_OPS(name)
@@ -148,7 +148,7 @@ struct TEnumTraits<T, true>
#define DEFINE_AMBIGUOUS_BIT_ENUM_WITH_UNDERLYING_TYPE(name, underlyingType, seq) \
ENUM__CLASS(name, underlyingType, seq) \
ENUM__BEGIN_TRAITS(name, underlyingType, true, false, seq) \
- ENUM__DECOMPOSE \
+ ENUM__DECOMPOSE \
ENUM__END_TRAITS(name) \
ENUM__BITWISE_OPS(name)
@@ -169,8 +169,8 @@ struct TEnumTraits<T, true>
#define DEFINE_STRING_SERIALIZABLE_ENUM_WITH_UNDERLYING_TYPE(name, underlyingType, seq) \
ENUM__CLASS(name, underlyingType, seq) \
ENUM__BEGIN_TRAITS(name, underlyingType, false, true, seq) \
- ENUM__MINMAX \
- ENUM__VALIDATE_UNIQUE(name) \
+ ENUM__MINMAX \
+ ENUM__VALIDATE_UNIQUE(name) \
ENUM__END_TRAITS(name) \
//! Defines a smart enumeration with a specific underlying type and IsStringSerializable attribute.
@@ -178,7 +178,7 @@ struct TEnumTraits<T, true>
#define DEFINE_AMBIGUOUS_STRING_SERIALIZABLE_ENUM_WITH_UNDERLYING_TYPE(name, underlyingType, seq) \
ENUM__CLASS(name, underlyingType, seq) \
ENUM__BEGIN_TRAITS(name, underlyingType, false, true, seq) \
- ENUM__MINMAX \
+ ENUM__MINMAX \
ENUM__END_TRAITS(name)
//! Defines a smart enumeration with the default |int| underlying type and IsStringSerializable attribute.