diff options
author | Dawid Wolosowicz <d@1823.pl> | 2021-09-07 16:21:04 +0200 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-09-08 15:48:02 +0430 |
commit | ec7879f62806d16f804273e71a2a1292d981d0e5 (patch) | |
tree | 3418d3b458df0ea261d4d184a2151f48837cf4ae /Userland/Applications/SystemMonitor/ProcessModel.cpp | |
parent | 2d91ba27375888f2dd1b3322270e331610f7ac73 (diff) | |
download | serenity-ec7879f62806d16f804273e71a2a1292d981d0e5.zip |
SystemMonitor: Remove an unnecessarily specific inline capacity
Diffstat (limited to 'Userland/Applications/SystemMonitor/ProcessModel.cpp')
-rw-r--r-- | Userland/Applications/SystemMonitor/ProcessModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<GUI::ModelIndex, 1> ProcessModel::matches(const StringView& searching, unsigned flags, const GUI::ModelIndex&) +Vector<GUI::ModelIndex> ProcessModel::matches(const StringView& searching, unsigned flags, const GUI::ModelIndex&) { - Vector<GUI::ModelIndex, 1> found_indices; + Vector<GUI::ModelIndex> found_indices; for (auto& thread : m_threads) { if (string_matches(thread.value->current_state.name, searching, flags)) { |