summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityDispatcherCommand.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/CheckIntegrityDispatcherCommand.cc')
-rw-r--r--src/CheckIntegrityDispatcherCommand.cc19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/CheckIntegrityDispatcherCommand.cc b/src/CheckIntegrityDispatcherCommand.cc
index 9c512611..41609069 100644
--- a/src/CheckIntegrityDispatcherCommand.cc
+++ b/src/CheckIntegrityDispatcherCommand.cc
@@ -43,23 +43,22 @@
namespace aria2 {
-CheckIntegrityDispatcherCommand::CheckIntegrityDispatcherCommand
-(cuid_t cuid,
- CheckIntegrityMan* fileAllocMan,
- DownloadEngine* e)
- : SequentialDispatcherCommand<CheckIntegrityEntry>{cuid, fileAllocMan, e}
+CheckIntegrityDispatcherCommand::CheckIntegrityDispatcherCommand(
+ cuid_t cuid, CheckIntegrityMan* fileAllocMan, DownloadEngine* e)
+ : SequentialDispatcherCommand<CheckIntegrityEntry>{cuid, fileAllocMan, e}
{
setStatusRealtime();
}
-std::unique_ptr<Command> CheckIntegrityDispatcherCommand::createCommand
-(CheckIntegrityEntry* entry)
+std::unique_ptr<Command>
+CheckIntegrityDispatcherCommand::createCommand(CheckIntegrityEntry* entry)
{
cuid_t newCUID = getDownloadEngine()->newCUID();
A2_LOG_INFO(fmt("CUID#%" PRId64 " - Dispatching CheckIntegrityCommand "
- "CUID#%" PRId64 ".", getCuid(), newCUID));
- return make_unique<CheckIntegrityCommand>
- (newCUID, entry->getRequestGroup(), getDownloadEngine(), entry);
+ "CUID#%" PRId64 ".",
+ getCuid(), newCUID));
+ return make_unique<CheckIntegrityCommand>(newCUID, entry->getRequestGroup(),
+ getDownloadEngine(), entry);
}
} // namespace aria2