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/BtStopDownloadCommand.h | |
| parent | c81b1321122e8509b55c94c0cbca0d8d6d319f0c (diff) | |
| parent | a7cd943a06b1a5ff4515b57060b84037f8d01f9f (diff) | |
Merge branch 'master' into random-webseeding
Diffstat (limited to 'src/BtStopDownloadCommand.h')
| -rw-r--r-- | src/BtStopDownloadCommand.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/BtStopDownloadCommand.h b/src/BtStopDownloadCommand.h index ae592a92..70d0fcc4 100644 --- a/src/BtStopDownloadCommand.h +++ b/src/BtStopDownloadCommand.h @@ -47,7 +47,7 @@ class BtRuntime; // Stop downloading torrent if in consecutive timeout_ seconds, // download speed is zero and the number of seeder is 0. -class BtStopDownloadCommand:public TimeBasedCommand { +class BtStopDownloadCommand : public TimeBasedCommand { private: RequestGroup* requestGroup_; @@ -58,12 +58,10 @@ private: std::shared_ptr<BtRuntime> btRuntime_; std::shared_ptr<PieceStorage> pieceStorage_; + public: - BtStopDownloadCommand - (cuid_t cuid, - RequestGroup* requestGroup, - DownloadEngine* e, - std::chrono::seconds timeout); + BtStopDownloadCommand(cuid_t cuid, RequestGroup* requestGroup, + DownloadEngine* e, std::chrono::seconds timeout); virtual void preProcess() CXX11_OVERRIDE; |
