More test fixes.

pull/9461/head
Deanna Garcia 3 years ago
parent b2ff4f82c2
commit 369388b472
  1. 1
      BUILD
  2. 3
      src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc

@ -48,7 +48,6 @@ COPTS = select({
":msvc": MSVC_COPTS,
"//conditions:default": [
"-DHAVE_ZLIB",
"-Wmissing-field-initializers",
"-Woverloaded-virtual",
"-Wno-sign-compare",
],

@ -283,8 +283,7 @@ TailCallTableInfo::TailCallTableInfo(
// Fill in mini table entries.
for (const FieldDescriptor* field : ordered_fields) {
field_entries.push_back(
{field, (HasHasbit(field) ? has_bit_indices[field->index()] : -1), 0, 0}
);
{field, (HasHasbit(field) ? has_bit_indices[field->index()] : -1)});
auto& entry = field_entries.back();
if (field->type() == FieldDescriptor::TYPE_MESSAGE ||

Loading…
Cancel
Save