Merge pull request #8730 from kspinka/master

Add override to C++ code generation for InternalGetTable
pull/8742/head
Matt Fowles Kulukundis 3 years ago committed by GitHub
commit 5ab8239d4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/google/protobuf/compiler/cpp/cpp_message.cc

@ -1174,7 +1174,7 @@ void MessageGenerator::GenerateClassDefinition(io::Printer* printer) {
if (options_.table_driven_serialization) {
format(
"private:\n"
"const void* InternalGetTable() const;\n"
"const void* InternalGetTable() const override;\n"
"public:\n"
"\n");
}

Loading…
Cancel
Save