- Renamed Duration object to OldDuration so that the two implementations can
  coexist in a binary.
This commit is contained in:
Paul Beckingham 2014-01-02 01:06:48 -05:00
parent 9bfe40fac7
commit 18f03c25b4
20 changed files with 566 additions and 566 deletions

View file

@ -1287,7 +1287,7 @@ void Task::validate (bool applyDefault /* = true */)
// Recur durations must be valid.
if (has ("recur"))
{
Duration d;
OldDuration d;
if (! d.valid (get ("recur")))
throw std::string (format (STRING_TASK_VALID_RECUR, get ("recur")));
}