void-packages/srcpkgs/protobuf-c/patches/fix-Reflection-not-exist-in...

25 lines
1007 B
Diff

From 080724364a5aad61728f8eba57677467bf329088 Mon Sep 17 00:00:00 2001
From: storyun <joowoni91@gmail.com>
Date: Wed, 19 Sep 2018 11:34:48 +0900
Subject: [PATCH] Invalid namespace
google::protobuf::message::Reflaction is not exist namespace.
---
t/generated-code2/cxx-generate-packed-data.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/t/generated-code2/cxx-generate-packed-data.cc b/t/generated-code2/cxx-generate-packed-data.cc
index 4fd3e25..0865d2e 100644
--- t/generated-code2/cxx-generate-packed-data.cc
+++ t/generated-code2/cxx-generate-packed-data.cc
@@ -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