This is an automated email from the ASF dual-hosted git repository.
xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git
The following commit(s) were added to refs/heads/main by this push:
new adf3c7c ProtobufNativeSchema: convert abseil string_view to
std::string (#527)
adf3c7c is described below
commit adf3c7c0f76702246a9306fc60924984c2d9042e
Author: dann frazier <[email protected]>
AuthorDate: Sun Dec 7 23:21:28 2025 -0700
ProtobufNativeSchema: convert abseil string_view to std::string (#527)
This resolves the following build failure using abseil-cpp 20250814.1
---
lib/ProtobufNativeSchema.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/ProtobufNativeSchema.cc b/lib/ProtobufNativeSchema.cc
index 632943d..c3a4ed8 100644
--- a/lib/ProtobufNativeSchema.cc
+++ b/lib/ProtobufNativeSchema.cc
@@ -39,8 +39,8 @@ SchemaInfo createProtobufNativeSchema(const
google::protobuf::Descriptor* descri
}
const auto fileDescriptor = descriptor->file();
- const std::string& rootMessageTypeName = descriptor->full_name();
- const std::string& rootFileDescriptorName = fileDescriptor->name();
+ const std::string& rootMessageTypeName =
std::string(descriptor->full_name());
+ const std::string& rootFileDescriptorName =
std::string(fileDescriptor->name());
FileDescriptorSet fileDescriptorSet;
internalCollectFileDescriptors(fileDescriptor, fileDescriptorSet);