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:
Paul Beckingham 2009-05-05 02:14:43 -04:00
parent fb674a5626
commit b67b27f5cd
4 changed files with 10 additions and 13 deletions

View file

@ -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;