diff options
Diffstat (limited to 'Userland/Libraries/LibGUI/ModelSelection.h')
-rw-r--r-- | Userland/Libraries/LibGUI/ModelSelection.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Userland/Libraries/LibGUI/ModelSelection.h b/Userland/Libraries/LibGUI/ModelSelection.h index 85305246be..b89d632012 100644 --- a/Userland/Libraries/LibGUI/ModelSelection.h +++ b/Userland/Libraries/LibGUI/ModelSelection.h @@ -27,7 +27,7 @@ public: int size() const { return m_indices.size(); } bool is_empty() const { return m_indices.is_empty(); } - bool contains(const ModelIndex& index) const { return m_indices.contains(index); } + bool contains(ModelIndex const& index) const { return m_indices.contains(index); } bool contains_row(int row) const { for (auto& index : m_indices) { @@ -37,11 +37,11 @@ public: return false; } - void set(const ModelIndex&); - void add(const ModelIndex&); - void add_all(const Vector<ModelIndex>&); - void toggle(const ModelIndex&); - bool remove(const ModelIndex&); + void set(ModelIndex const&); + void add(ModelIndex const&); + void add_all(Vector<ModelIndex> const&); + void toggle(ModelIndex const&); + bool remove(ModelIndex const&); void clear(); template<typename Callback> |