diff options
Diffstat (limited to 'src/DelayedCommand.h')
| -rw-r--r-- | src/DelayedCommand.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DelayedCommand.h b/src/DelayedCommand.h index b02bffa0..809b8058 100644 --- a/src/DelayedCommand.h +++ b/src/DelayedCommand.h @@ -59,9 +59,9 @@ public: } public: - DelayedCommand(cuid_t cuid, DownloadEngine* e, time_t delay, + DelayedCommand(cuid_t cuid, DownloadEngine* e, std::chrono::seconds delay, std::unique_ptr<Command> command, bool noWait) - : TimeBasedCommand(cuid, e, delay), + : TimeBasedCommand(cuid, e, std::move(delay)), command_{std::move(command)}, noWait_{noWait} { |
