mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47:35 +00:00
AK+LibGUI: Pass predicate to *_matching() methods by const reference
This commit is contained in:
parent
6ed2ded77c
commit
a0a4d169f4
5 changed files with 12 additions and 12 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue