Skip to content

Commit

Permalink
Add override to C++ code generation for InternalGetTable
Browse files Browse the repository at this point in the history
This should conclude the larger efforts from issue protocolbuffers#8612
regarding clang warnings.
  • Loading branch information
kspinka committed Jun 12, 2021
1 parent d1ef6d9 commit 02263b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google/protobuf/compiler/cpp/cpp_message.cc
Expand Up @@ -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");
}
Expand Down

0 comments on commit 02263b2

Please sign in to comment.