Fix spelling error

pull/9912/head
Adam Cozzette 3 years ago
parent e94aa9ff0b
commit a3193ed5ee
  1. 2
      src/google/protobuf/compiler/cpp/helpers.cc

@ -574,7 +574,7 @@ std::string FieldMemberName(const FieldDescriptor* field, bool split) {
if (field->real_containing_oneof() == nullptr) {
return StrCat(prefix, split_prefix, FieldName(field), "_");
}
// Oneof fields are enver split.
// Oneof fields are never split.
GOOGLE_CHECK(!split);
return StrCat(prefix, field->containing_oneof()->name(), "_.",
FieldName(field), "_");

Loading…
Cancel
Save