diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:39:47 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-12-27 18:40:08 +0900 |
| commit | b1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch) | |
| tree | 9ce465b42bf09372118335c7c619bb2b41869eaf /src/BtStopDownloadCommand.h | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
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; |
