summaryrefslogtreecommitdiff
path: root/src/AutoSaveCommand.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/AutoSaveCommand.cc
parent4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff)
make clang-format using clang-format-3.6
Diffstat (limited to 'src/AutoSaveCommand.cc')
-rw-r--r--src/AutoSaveCommand.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/AutoSaveCommand.cc b/src/AutoSaveCommand.cc
index 400a55dc..b0471f0d 100644
--- a/src/AutoSaveCommand.cc
+++ b/src/AutoSaveCommand.cc
@@ -40,15 +40,16 @@ namespace aria2 {
AutoSaveCommand::AutoSaveCommand(cuid_t cuid, DownloadEngine* e,
std::chrono::seconds interval)
- : TimeBasedCommand(cuid, e, std::move(interval), true)
-{}
+ : TimeBasedCommand(cuid, e, std::move(interval), true)
+{
+}
AutoSaveCommand::~AutoSaveCommand() {}
void AutoSaveCommand::preProcess()
{
- if(getDownloadEngine()->getRequestGroupMan()->downloadFinished() ||
- getDownloadEngine()->isHaltRequested()) {
+ if (getDownloadEngine()->getRequestGroupMan()->downloadFinished() ||
+ getDownloadEngine()->isHaltRequested()) {
enableExit();
}
}