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/LibGUI/ProcessChooser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibGUI/ProcessChooser.h') diff --git a/Userland/Libraries/LibGUI/ProcessChooser.h b/Userland/Libraries/LibGUI/ProcessChooser.h index 412648bbde..983abb3f65 100644 --- a/Userland/Libraries/LibGUI/ProcessChooser.h +++ b/Userland/Libraries/LibGUI/ProcessChooser.h @@ -21,7 +21,7 @@ public: pid_t pid() const { return m_pid; } private: - ProcessChooser(const StringView& window_title = "Process Chooser", const StringView& button_label = "Select", const Gfx::Bitmap* window_icon = nullptr, GUI::Window* parent_window = nullptr); + ProcessChooser(StringView window_title = "Process Chooser", StringView button_label = "Select", const Gfx::Bitmap* window_icon = nullptr, GUI::Window* parent_window = nullptr); void set_pid_from_index_and_close(const ModelIndex&); -- cgit v1.2.3