- Converted from OldDuration to Duration.
This commit is contained in:
Paul Beckingham 2014-05-28 23:55:20 -04:00
parent e73d19152e
commit 9693a724f2
2 changed files with 8 additions and 7 deletions

View file

@ -321,7 +321,7 @@ bool Duration::parse (const std::string& input, std::string::size_type& start)
if (durations[i].unit == unit)
{
seconds = durations[i].seconds;
_secs = static_cast <int> (quantity * static_cast <double> (seconds));
_secs = static_cast <int> (quantity * static_cast <double> (seconds));
return true;
}
}