Merge pull request #369 from protobuf-c/edmonds/protobuf-reflection-typedef-test-fix

t/generated-code2/cxx-generate-packed-data.cc: Fix build failure on newer protobuf
This commit is contained in:
Robert Edmonds 2019-04-10 21:43:03 -04:00 committed by GitHub
commit 9412830d06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -998,7 +998,7 @@ static void dump_test_packed_repeated_enum (void)
static void dump_test_unknown_fields (void)
{
EmptyMess mess;
const google::protobuf::Message::Reflection *reflection = mess.GetReflection();
const google::protobuf::Reflection *reflection = mess.GetReflection();
google::protobuf::UnknownFieldSet *fs = reflection->MutableUnknownFields(&mess);
#if GOOGLE_PROTOBUF_VERSION >= 2001000