diff options
author | thegeorg <thegeorg@yandex-team.ru> | 2022-02-19 14:12:31 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.ru> | 2022-02-19 14:12:31 +0300 |
commit | 52a1ac58104ca032e718abb079dedc9600e85e34 (patch) | |
tree | a8aab7be7dbcd5238c302bdab77d0b11b6cc7f5f /contrib/libs/protoc | |
parent | 7d7953cb46099a2517822b5832d49351eeecbde1 (diff) | |
download | ydb-52a1ac58104ca032e718abb079dedc9600e85e34.tar.gz |
protoc: restore enum inheritance from int
ref:2f2cb47fee757f0cf03f965cbc74b94b10258032
Diffstat (limited to 'contrib/libs/protoc')
-rw-r--r-- | contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum.cc b/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum.cc index e0c80fc1c6..0d3da32158 100644 --- a/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum.cc +++ b/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum.cc @@ -95,7 +95,7 @@ EnumGenerator::~EnumGenerator() {} void EnumGenerator::GenerateDefinition(io::Printer* printer) { Formatter format(printer, variables_); - format("enum ${1$$classname$$}$ {\n", descriptor_); + format("enum ${1$$classname$$}$ : int {\n", descriptor_); format.Indent(); const EnumValueDescriptor* min_value = descriptor_->value(0); |