Internal change

PiperOrigin-RevId: 484767017
pull/10846/head
Protobuf Team Bot 2 years ago committed by Joshua Haberman
parent 2d041c367f
commit f734e8d1e4
  1. 1
      src/google/protobuf/compiler/cpp/parse_function_generator.cc

@ -1145,7 +1145,6 @@ void ParseFunctionGenerator::GenerateFieldBody(
uint32_t tag = WireFormatLite::MakeTag(field->number(), wiretype);
switch (wiretype) {
case WireFormatLite::WIRETYPE_VARINT: {
std::string type = PrimitiveTypeName(options_, field->cpp_type());
if (field->type() == FieldDescriptor::TYPE_ENUM) {
format.Set("enum_type",
QualifiedClassName(field->enum_type(), options_));

Loading…
Cancel
Save