- The ::remove method only needs to set ::recalc_urgency if the attribute was
  actually removed.
This commit is contained in:
Paul Beckingham 2014-07-06 00:36:16 -04:00
parent c54a17089a
commit 75af8d6ca4

View file

@ -320,10 +320,11 @@ void Task::remove (const std::string& name)
{
Task::iterator it;
if ((it = this->find (name)) != this->end ())
{
this->erase (it);
recalc_urgency = true;
}
}
////////////////////////////////////////////////////////////////////////////////
Task::status Task::getStatus () const