return by braced init list
shorter Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user