mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-06-26 10:54:28 +02:00
CmdStart: Ambiguous ctor initializer
This commit is contained in:
parent
6965b506e8
commit
0cee3e130e
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue