Enhancement - delete sequences
- Implemented sequences for delete command - Renamed T::inSequence to T::sequenceContains, which makes the code read more naturally.
This commit is contained in:
@@ -271,8 +271,7 @@ std::string handleInfo (TDB& tdb, T& task, Config& conf)
|
||||
{
|
||||
T refTask (tasks[i]);
|
||||
|
||||
if (refTask.getId () == task.getId () ||
|
||||
task.inSequence (refTask.getId ()))
|
||||
if (refTask.getId () == task.getId () || task.sequenceContains (refTask.getId ()))
|
||||
{
|
||||
++count;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user