recur: Code cleanup
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user