summaryrefslogtreecommitdiff
path: root/src/KeepRunningCommand.cc
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/KeepRunningCommand.cc
parent4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff)
make clang-format using clang-format-3.6
Diffstat (limited to 'src/KeepRunningCommand.cc')
-rw-r--r--src/KeepRunningCommand.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/KeepRunningCommand.cc b/src/KeepRunningCommand.cc
index af15ce3c..3ee243fb 100644
--- a/src/KeepRunningCommand.cc
+++ b/src/KeepRunningCommand.cc
@@ -39,8 +39,7 @@
namespace aria2 {
KeepRunningCommand::KeepRunningCommand(cuid_t cuid, DownloadEngine* e)
- : Command(cuid),
- e_(e)
+ : Command(cuid), e_(e)
{
setStatusRealtime();
}
@@ -49,7 +48,7 @@ KeepRunningCommand::~KeepRunningCommand() {}
bool KeepRunningCommand::execute()
{
- if(e_->isHaltRequested()) {
+ if (e_->isHaltRequested()) {
return true;
}
e_->addCommand(std::unique_ptr<Command>(this));