fs/Traits: convert first Relative() parameter to std::string_view

This commit is contained in:
Max Kellermann
2020-04-03 18:58:37 +02:00
parent 3a83a6b527
commit 2429cc8778
7 changed files with 11 additions and 15 deletions

View File

@@ -81,7 +81,7 @@ CurlStorage::MapUTF8(const char *uri_utf8) const noexcept
const char *
CurlStorage::MapToRelativeUTF8(const char *uri_utf8) const noexcept
{
return PathTraitsUTF8::Relative(base.c_str(),
return PathTraitsUTF8::Relative(base,
CurlUnescape(uri_utf8).c_str());
}