1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00
aports/testing/pulsar-client-cpp/protobuf-31.patch
2025-06-12 10:18:47 +00:00

15 lines
756 B
Diff

diff --git a/lib/ProtobufNativeSchema.cc b/lib/ProtobufNativeSchema.cc
index 5cddf74..4bf45cf 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);