diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-26 17:12:52 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2016-03-26 17:20:27 +0900 |
| commit | d64089632e82a2548752c7a6baaa68365a795a74 (patch) | |
| tree | 57fc7b85a8c1290975d58fa4761b04a7695bf7e3 /src/DelayedCommand.h | |
| parent | c81b1321122e8509b55c94c0cbca0d8d6d319f0c (diff) | |
| parent | a7cd943a06b1a5ff4515b57060b84037f8d01f9f (diff) | |
Merge branch 'master' into random-webseeding
Diffstat (limited to 'src/DelayedCommand.h')
| -rw-r--r-- | src/DelayedCommand.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/DelayedCommand.h b/src/DelayedCommand.h index 809b8058..04feb2d5 100644 --- a/src/DelayedCommand.h +++ b/src/DelayedCommand.h @@ -38,11 +38,9 @@ #include "TimeBasedCommand.h" -namespace aria2 -{ +namespace aria2 { -class DelayedCommand : public TimeBasedCommand -{ +class DelayedCommand : public TimeBasedCommand { private: std::unique_ptr<Command> command_; bool noWait_; @@ -61,9 +59,9 @@ public: public: DelayedCommand(cuid_t cuid, DownloadEngine* e, std::chrono::seconds delay, std::unique_ptr<Command> command, bool noWait) - : TimeBasedCommand(cuid, e, std::move(delay)), - command_{std::move(command)}, - noWait_{noWait} + : TimeBasedCommand(cuid, e, std::move(delay)), + command_{std::move(command)}, + noWait_{noWait} { } |
