summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/ModelSelection.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/ModelSelection.h')
-rw-r--r--Userland/Libraries/LibGUI/ModelSelection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/ModelSelection.h b/Userland/Libraries/LibGUI/ModelSelection.h
index b89d632012..79592159aa 100644
--- a/Userland/Libraries/LibGUI/ModelSelection.h
+++ b/Userland/Libraries/LibGUI/ModelSelection.h
@@ -76,7 +76,7 @@ public:
return *m_indices.begin();
}
- void remove_all_matching(Function<bool(ModelIndex const&)> filter);
+ void remove_all_matching(Function<bool(ModelIndex const&)> const& filter);
template<typename Function>
void change_from_model(Badge<SortingProxyModel>, Function f)