summaryrefslogtreecommitdiff
path: root/src/FileAllocationDispatcherCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FileAllocationDispatcherCommand.cc')
-rw-r--r--src/FileAllocationDispatcherCommand.cc19
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