f849b07766
Pass a std::string to PathTraitsUTF8::Relative(), implicitly casting it to std::string_view. This selects the right overload which returns std::string_view instead of `const char *`; the latter could return `nullptr` which would cause the implicit conversion of the return value to std::string_view to crash. Regression caused by commits |
||
---|---|---|
.. | ||
plugins | ||
CompositeStorage.cxx | ||
CompositeStorage.hxx | ||
Configured.cxx | ||
Configured.hxx | ||
FileInfo.hxx | ||
MemoryDirectoryReader.cxx | ||
MemoryDirectoryReader.hxx | ||
meson.build | ||
Registry.cxx | ||
Registry.hxx | ||
StorageInterface.cxx | ||
StorageInterface.hxx | ||
StoragePlugin.hxx | ||
StorageState.cxx | ||
StorageState.hxx |