diff options
author | Arslan Urtashev <urtashev@gmail.com> | 2022-02-10 16:48:55 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:55 +0300 |
commit | 1136f2ce7cce7bcc84e695272c0d92d4eb900c2b (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /tools/enum_parser | |
parent | b97740540e7302cec9efa181e106ae1990a0cc1c (diff) | |
download | ydb-1136f2ce7cce7bcc84e695272c0d92d4eb900c2b.tar.gz |
Restoring authorship annotation for Arslan Urtashev <urtashev@gmail.com>. Commit 2 of 2.
Diffstat (limited to 'tools/enum_parser')
-rw-r--r-- | tools/enum_parser/enum_parser/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/enum_parser/enum_parser/main.cpp b/tools/enum_parser/enum_parser/main.cpp index cc7fafc0c4..0943c69c1d 100644 --- a/tools/enum_parser/enum_parser/main.cpp +++ b/tools/enum_parser/enum_parser/main.cpp @@ -34,7 +34,7 @@ void WriteHeader(const TString& headerName, IOutputStream& out, IOutputStream* h out << "#include <util/generic/string.h>\n"; out << "#include <util/generic/vector.h>\n"; out << "#include <util/generic/map.h>\n"; - out << "#include <util/generic/serialized_enum.h>\n"; + out << "#include <util/generic/serialized_enum.h>\n"; out << "#include <util/string/cast.h>\n"; out << "#include <util/stream/output.h>\n\n"; @@ -339,13 +339,13 @@ void GenerateEnum( out << " return names.AllEnumNames();\n"; out << " }\n\n"; - // template<> GetEnumNames<EnumType> + // template<> GetEnumNames<EnumType> out << " template<>\n"; out << " TMappedDictView<" << name << ", TString> GetEnumNamesImpl<" << name << ">() {\n"; out << " const " << nsName << "::TNameBufs& names = " << nsName << "::TNameBufs::Instance();\n"; out << " return names.EnumNames();\n"; out << " }\n\n"; - + // template<> GetEnumAllCppNames, see IGNIETFERRO-534 out << " template<>\n"; out << " const TVector<TString>& GetEnumAllCppNamesImpl<" << name << ">() {\n"; |