We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c64e0e9 commit adf3c7cCopy full SHA for adf3c7c
lib/ProtobufNativeSchema.cc
@@ -39,8 +39,8 @@ SchemaInfo createProtobufNativeSchema(const google::protobuf::Descriptor* descri
39
}
40
41
const auto fileDescriptor = descriptor->file();
42
- const std::string& rootMessageTypeName = descriptor->full_name();
43
- const std::string& rootFileDescriptorName = fileDescriptor->name();
+ const std::string& rootMessageTypeName = std::string(descriptor->full_name());
+ const std::string& rootFileDescriptorName = std::string(fileDescriptor->name());
44
45
FileDescriptorSet fileDescriptorSet;
46
internalCollectFileDescriptors(fileDescriptor, fileDescriptorSet);
0 commit comments