From df44da9f3364612e5a1000da8402c61a4b36979d Mon Sep 17 00:00:00 2001 From: Christian Dietrich Date: Tue, 24 Nov 2020 19:21:24 +0100 Subject: [PATCH] DatabaseExperiment: Use google::protobuf::Reflection The previous path google::protobuf::Message::Reflection was deprecated in 2008 (779f61c6a3ce02a119e28e802f229e61b69b9046), and we only used it here. With newer versions of proto-c, this breaks the build. --- src/core/efw/DatabaseExperiment.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/efw/DatabaseExperiment.cc b/src/core/efw/DatabaseExperiment.cc index 409d2966..284330fb 100644 --- a/src/core/efw/DatabaseExperiment.cc +++ b/src/core/efw/DatabaseExperiment.cc @@ -154,7 +154,7 @@ template T * protobufFindSubmessageByTypename(Message *msg, const std::string &name) { T * submessage = 0; const Descriptor *msg_type = msg->GetDescriptor(); - const Message::Reflection *ref = msg->GetReflection(); + const Reflection *ref = msg->GetReflection(); const Descriptor *database_desc = DescriptorPool::generated_pool()->FindMessageTypeByName(name); assert(database_desc != 0);