diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /util/generic/serialized_enum.h | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'util/generic/serialized_enum.h')
-rw-r--r-- | util/generic/serialized_enum.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/util/generic/serialized_enum.h b/util/generic/serialized_enum.h index 79df2bac22..fb847701b0 100644 --- a/util/generic/serialized_enum.h +++ b/util/generic/serialized_enum.h @@ -29,7 +29,7 @@ in your ya.make * @tparam EnumT enum type */ template <typename EnumT> -Y_CONST_FUNCTION constexpr size_t GetEnumItemsCount(); +Y_CONST_FUNCTION constexpr size_t GetEnumItemsCount(); namespace NEnumSerializationRuntime { namespace NDetail { @@ -89,7 +89,7 @@ namespace NEnumSerializationRuntime { * @tparam EnumT enum type */ template <typename EnumT> -Y_CONST_FUNCTION ::NEnumSerializationRuntime::TMappedDictView<EnumT, TString> GetEnumNames() { +Y_CONST_FUNCTION ::NEnumSerializationRuntime::TMappedDictView<EnumT, TString> GetEnumNames() { return ::NEnumSerializationRuntime::GetEnumNamesImpl<EnumT>(); } @@ -99,7 +99,7 @@ Y_CONST_FUNCTION ::NEnumSerializationRuntime::TMappedDictView<EnumT, TString> Ge * @tparam EnumT enum type */ template <typename EnumT> -Y_CONST_FUNCTION ::NEnumSerializationRuntime::TMappedArrayView<EnumT> GetEnumAllValues() { +Y_CONST_FUNCTION ::NEnumSerializationRuntime::TMappedArrayView<EnumT> GetEnumAllValues() { return ::NEnumSerializationRuntime::GetEnumAllValuesImpl<EnumT>(); } @@ -109,7 +109,7 @@ Y_CONST_FUNCTION ::NEnumSerializationRuntime::TMappedArrayView<EnumT> GetEnumAll * @tparam EnumT enum type */ template <typename EnumT> -Y_CONST_FUNCTION const TString& GetEnumAllNames() { +Y_CONST_FUNCTION const TString& GetEnumAllNames() { return ::NEnumSerializationRuntime::GetEnumAllNamesImpl<EnumT>(); } @@ -119,7 +119,7 @@ Y_CONST_FUNCTION const TString& GetEnumAllNames() { * @tparam EnumT enum type */ template <typename EnumT> -Y_CONST_FUNCTION const TVector<TString>& GetEnumAllCppNames() { +Y_CONST_FUNCTION const TVector<TString>& GetEnumAllCppNames() { return ::NEnumSerializationRuntime::GetEnumAllCppNamesImpl<EnumT>(); } @@ -247,7 +247,7 @@ namespace NEnumSerializationRuntime { return Ref.size(); } - Y_PURE_FUNCTION bool empty() const { + Y_PURE_FUNCTION bool empty() const { return Ref.empty(); } @@ -370,7 +370,7 @@ namespace NEnumSerializationRuntime { return Ref.size(); } - Y_PURE_FUNCTION bool empty() const { + Y_PURE_FUNCTION bool empty() const { return Ref.empty(); } |