mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
CmdCount: Code cleanup
This commit is contained in:
parent
8e6fd5d979
commit
984b20f6de
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ int CmdCount::execute (std::string& output)
|
|||
|
||||
// Find number of matching tasks. Skip recurring parent tasks.
|
||||
int count = 0;
|
||||
for (auto& task : filtered)
|
||||
for (const auto& task : filtered)
|
||||
if (task.getStatus () != Task::recurring)
|
||||
++count;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue