mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 04:27:20 +02:00
recur: Code cleanup
This commit is contained in:
parent
5fd6f716a6
commit
223ca89d73
1 changed files with 1 additions and 1 deletions
|
@ -183,7 +183,7 @@ bool generateDueDates (Task& parent, std::vector <Datetime>& allDue)
|
||||||
// If i > until, it means there are no more tasks to generate, and if the
|
// If i > until, it means there are no more tasks to generate, and if the
|
||||||
// parent mask contains all + or X, then there never will be another task
|
// parent mask contains all + or X, then there never will be another task
|
||||||
// to generate, and this parent task may be safely reaped.
|
// to generate, and this parent task may be safely reaped.
|
||||||
std::string mask = parent.get ("mask");
|
auto mask = parent.get ("mask");
|
||||||
if (mask.length () == allDue.size () &&
|
if (mask.length () == allDue.size () &&
|
||||||
mask.find ('-') == std::string::npos)
|
mask.find ('-') == std::string::npos)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue