From 8b1108e4858f797c9216dc8ae4a3918ad50c73b4 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 11 Nov 2021 00:55:02 +0100 Subject: Everywhere: Pass AK::StringView by value --- Userland/Libraries/LibGfx/PGMLoader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGfx/PGMLoader.cpp') diff --git a/Userland/Libraries/LibGfx/PGMLoader.cpp b/Userland/Libraries/LibGfx/PGMLoader.cpp index be2aad4821..eb04c31139 100644 --- a/Userland/Libraries/LibGfx/PGMLoader.cpp +++ b/Userland/Libraries/LibGfx/PGMLoader.cpp @@ -99,7 +99,7 @@ static bool read_image_data(PGMLoadingContext& context, Streamer& streamer) return true; } -RefPtr load_pgm(const StringView& path) +RefPtr load_pgm(StringView path) { return load(path); } -- cgit v1.2.3