From 99cd73c0926f0c07d27777fde2f15816e8040030 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 8 Jun 2015 02:03:31 +0900 Subject: Replace timer facility with chrono lib --- src/AutoSaveCommand.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/AutoSaveCommand.cc') 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() {} -- cgit