diff --git a/Userland/Applications/SystemMonitor/ProcessModel.cpp b/Userland/Applications/SystemMonitor/ProcessModel.cpp index cdefa57338..e5350b08ca 100644 --- a/Userland/Applications/SystemMonitor/ProcessModel.cpp +++ b/Userland/Applications/SystemMonitor/ProcessModel.cpp @@ -313,9 +313,9 @@ GUI::Variant ProcessModel::data(const GUI::ModelIndex& index, GUI::ModelRole rol return {}; } -Vector ProcessModel::matches(const StringView& searching, unsigned flags, const GUI::ModelIndex&) +Vector ProcessModel::matches(const StringView& searching, unsigned flags, const GUI::ModelIndex&) { - Vector found_indices; + Vector found_indices; for (auto& thread : m_threads) { if (string_matches(thread.value->current_state.name, searching, flags)) { diff --git a/Userland/Applications/SystemMonitor/ProcessModel.h b/Userland/Applications/SystemMonitor/ProcessModel.h index 548b8942aa..a3a6cc704c 100644 --- a/Userland/Applications/SystemMonitor/ProcessModel.h +++ b/Userland/Applications/SystemMonitor/ProcessModel.h @@ -61,7 +61,7 @@ public: virtual String column_name(int column) const override; virtual GUI::Variant data(const GUI::ModelIndex&, GUI::ModelRole) const override; virtual bool is_searchable() const override { return true; } - virtual Vector matches(const StringView&, unsigned = MatchesFlag::AllMatching, const GUI::ModelIndex& = GUI::ModelIndex()) override; + virtual Vector matches(const StringView&, unsigned = MatchesFlag::AllMatching, const GUI::ModelIndex& = GUI::ModelIndex()) override; virtual bool is_column_sortable(int column_index) const override { return column_index != Column::Icon; } void update();