summaryrefslogtreecommitdiff
path: root/src/BtStopDownloadCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:39:47 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2015-12-27 18:40:08 +0900
commitb1132d6b10cd3791b9529d7031d723fd0e2d8215 (patch)
tree9ce465b42bf09372118335c7c619bb2b41869eaf /src/BtStopDownloadCommand.h
parent4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff)
make clang-format using clang-format-3.6
Diffstat (limited to 'src/BtStopDownloadCommand.h')
-rw-r--r--src/BtStopDownloadCommand.h10
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;