summaryrefslogtreecommitdiff
path: root/src/AutoSaveCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/AutoSaveCommand.cc')
-rw-r--r--src/AutoSaveCommand.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AutoSaveCommand.cc b/src/AutoSaveCommand.cc
index 8362d196..400a55dc 100644
--- a/src/AutoSaveCommand.cc
+++ b/src/AutoSaveCommand.cc
@@ -38,9 +38,9 @@
namespace aria2 {
-AutoSaveCommand::AutoSaveCommand
-(cuid_t cuid, DownloadEngine* e, time_t interval)
- : TimeBasedCommand(cuid, e, interval, true)
+AutoSaveCommand::AutoSaveCommand(cuid_t cuid, DownloadEngine* e,
+ std::chrono::seconds interval)
+ : TimeBasedCommand(cuid, e, std::move(interval), true)
{}
AutoSaveCommand::~AutoSaveCommand() {}