mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
15 lines
756 B
Diff
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);
|