1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 19:15:07 +00:00

SystemMonitor: Remove an unnecessarily specific inline capacity

This commit is contained in:
Dawid Wolosowicz 2021-09-07 16:21:04 +02:00 committed by Ali Mohammad Pur
parent 2d91ba2737
commit ec7879f628
2 changed files with 3 additions and 3 deletions

View file

@ -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)) {