db,storage: pass std::string_view to PathTraits::Build()

This commit is contained in:
Max Kellermann
2020-04-03 16:25:08 +02:00
parent 7a58b8c3e8
commit 747436b17e
8 changed files with 9 additions and 10 deletions

View File

@@ -340,7 +340,7 @@ UdisksStorage::MapUTF8(const char *uri_utf8) const noexcept
return mounted_storage->MapUTF8(uri_utf8);
} catch (...) {
/* fallback - not usable but the best we can do */
return PathTraitsUTF8::Build(base_uri.c_str(), uri_utf8);
return PathTraitsUTF8::Build(base_uri, uri_utf8);
}
}