return by braced init list

shorter

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-11-11 02:18:46 -08:00
parent e08c85ae2d
commit 250011f016
14 changed files with 22 additions and 22 deletions

View File

@@ -303,7 +303,7 @@ CompositeStorage::MapUTF8(std::string_view uri) const noexcept
auto f = FindStorage(uri);
if (f.directory->storage == nullptr)
return std::string();
return {};
return f.directory->storage->MapUTF8(f.uri);
}