CmdStart: Ambiguous ctor initializer

This commit is contained in:
Paul Beckingham 2016-04-11 08:39:29 -04:00
parent 6965b506e8
commit 0cee3e130e

View file

@ -44,8 +44,9 @@ int CmdStart (
! latest.isEnded ())
{
// Stop it.
auto modified {latest};
modified.end (Datetime ());
Interval modified {latest};
Datetime now;
modified.end (now);
// Update database.
database.modifyInterval (latest, modified);