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/FileAllocationDispatcherCommand.cc | |
| parent | 4abad2f64c9ff80144a61c5a9c2bea144852b883 (diff) | |
make clang-format using clang-format-3.6
Diffstat (limited to 'src/FileAllocationDispatcherCommand.cc')
| -rw-r--r-- | src/FileAllocationDispatcherCommand.cc | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/src/FileAllocationDispatcherCommand.cc b/src/FileAllocationDispatcherCommand.cc index 926f437f..eb96bf49 100644 --- a/src/FileAllocationDispatcherCommand.cc +++ b/src/FileAllocationDispatcherCommand.cc @@ -43,20 +43,19 @@ namespace aria2 { -FileAllocationDispatcherCommand::FileAllocationDispatcherCommand -(cuid_t cuid, - FileAllocationMan* fileAllocMan, - DownloadEngine* e) - : SequentialDispatcherCommand<FileAllocationEntry>{cuid, fileAllocMan, e} -{} +FileAllocationDispatcherCommand::FileAllocationDispatcherCommand( + cuid_t cuid, FileAllocationMan* fileAllocMan, DownloadEngine* e) + : SequentialDispatcherCommand<FileAllocationEntry>{cuid, fileAllocMan, e} +{ +} -std::unique_ptr<Command> FileAllocationDispatcherCommand::createCommand -(FileAllocationEntry* entry) +std::unique_ptr<Command> +FileAllocationDispatcherCommand::createCommand(FileAllocationEntry* entry) { cuid_t newCUID = getDownloadEngine()->newCUID(); A2_LOG_INFO(fmt(MSG_FILE_ALLOCATION_DISPATCH, newCUID)); - return make_unique<FileAllocationCommand> - (newCUID, entry->getRequestGroup(), getDownloadEngine(), entry); + return make_unique<FileAllocationCommand>(newCUID, entry->getRequestGroup(), + getDownloadEngine(), entry); } } // namespace aria2 |
