Skip to content

Commit adf3c7c

Browse files
authored
ProtobufNativeSchema: convert abseil string_view to std::string (#527)
This resolves the following build failure using abseil-cpp 20250814.1
1 parent c64e0e9 commit adf3c7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/ProtobufNativeSchema.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ SchemaInfo createProtobufNativeSchema(const google::protobuf::Descriptor* descri
3939
}
4040

4141
const auto fileDescriptor = descriptor->file();
42-
const std::string& rootMessageTypeName = descriptor->full_name();
43-
const std::string& rootFileDescriptorName = fileDescriptor->name();
42+
const std::string& rootMessageTypeName = std::string(descriptor->full_name());
43+
const std::string& rootFileDescriptorName = std::string(fileDescriptor->name());
4444

4545
FileDescriptorSet fileDescriptorSet;
4646
internalCollectFileDescriptors(fileDescriptor, fileDescriptorSet);

0 commit comments

Comments
 (0)