diff options
| author | AL <26797547+Al12rs@users.noreply.github.com> | 2020-11-02 23:20:43 +0100 |
|---|---|---|
| committer | AL <26797547+Al12rs@users.noreply.github.com> | 2020-11-02 23:20:43 +0100 |
| commit | c5e3fb423fd144faa2db8f2bb156adba6c003d39 (patch) | |
| tree | 823e38d3f0af39be96a4a2b2d8264b7c851ed08b /src/processrunner.cpp | |
| parent | 4814ba626e80f5137076556b687e59e6bbd8be34 (diff) | |
Change some for loops to use refs, prefer range loop where possible.
Diffstat (limited to 'src/processrunner.cpp')
| -rw-r--r-- | src/processrunner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processrunner.cpp b/src/processrunner.cpp index 97b5c580..a0e74f47 100644 --- a/src/processrunner.cpp +++ b/src/processrunner.cpp @@ -153,7 +153,7 @@ InterestingProcess findInterestingProcessInTrees(const env::Process& root) } auto isHidden = [&](auto&& p) { - for (auto h : hiddenList) { + for (auto& h : hiddenList) { if (p.name().contains(h, Qt::CaseInsensitive)) { return true; } |
