summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/GMLAutocompleteProvider.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/GMLAutocompleteProvider.h')
-rw-r--r--Userland/Libraries/LibGUI/GMLAutocompleteProvider.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/GMLAutocompleteProvider.h b/Userland/Libraries/LibGUI/GMLAutocompleteProvider.h
index b08e30db51..85133f8e45 100644
--- a/Userland/Libraries/LibGUI/GMLAutocompleteProvider.h
+++ b/Userland/Libraries/LibGUI/GMLAutocompleteProvider.h
@@ -16,7 +16,7 @@ public:
virtual ~GMLAutocompleteProvider() override { }
private:
- static bool can_have_declared_layout(const StringView& class_name)
+ static bool can_have_declared_layout(StringView class_name)
{
return class_name.is_one_of("GUI::Widget", "GUI::Frame");
}