StringViewize a bunch of things -- mostly LibGUI

This commit is contained in:
Robin Burchell
2019-06-02 14:58:02 +02:00
committed by Andreas Kling
parent f9ba7adae2
commit 1024dfa81a
59 changed files with 129 additions and 139 deletions

View File

@@ -272,7 +272,7 @@ void GDirectoryModel::update()
did_update();
}
void GDirectoryModel::open(const String& a_path)
void GDirectoryModel::open(const StringView& a_path)
{
FileSystemPath canonical_path(a_path);
auto path = canonical_path.string();