summaryrefslogtreecommitdiff
path: root/src/TimedHaltCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-06-08 02:03:31 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-06-09 02:05:34 +0900
commit99cd73c0926f0c07d27777fde2f15816e8040030 (patch)
tree7c6a077b0590c49029c76686afb9c2ab1d00bb6d /src/TimedHaltCommand.h
parent2874f6ab095a30a4d297cdc85fa3730bec41b1c2 (diff)
Replace timer facility with chrono lib
Diffstat (limited to 'src/TimedHaltCommand.h')
-rw-r--r--src/TimedHaltCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TimedHaltCommand.h b/src/TimedHaltCommand.h
index 46329156..41855078 100644
--- a/src/TimedHaltCommand.h
+++ b/src/TimedHaltCommand.h
@@ -43,8 +43,8 @@ class TimedHaltCommand:public TimeBasedCommand {
private:
bool forceHalt_;
public:
- TimedHaltCommand
- (cuid_t cuid, DownloadEngine* e, time_t secondsToHalt, bool forceHalt=false);
+ TimedHaltCommand(cuid_t cuid, DownloadEngine* e,
+ std::chrono::seconds secondsToHalt, bool forceHalt = false);
virtual ~TimedHaltCommand();