diff options
Diffstat (limited to 'src/FileAllocationEntry.cc')
| -rw-r--r-- | src/FileAllocationEntry.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/FileAllocationEntry.cc b/src/FileAllocationEntry.cc index 4a580398..e276e40e 100644 --- a/src/FileAllocationEntry.cc +++ b/src/FileAllocationEntry.cc @@ -42,9 +42,10 @@ namespace aria2 { FileAllocationEntry::FileAllocationEntry(RequestGroup* requestGroup, - std::unique_ptr<Command> nextCommand): - RequestGroupEntry(requestGroup, std::move(nextCommand)), - fileAllocationIterator_(requestGroup->getPieceStorage()->getDiskAdaptor()->fileAllocationIterator()) + std::unique_ptr<Command> nextCommand) + : RequestGroupEntry{requestGroup, std::move(nextCommand)}, + fileAllocationIterator_{requestGroup->getPieceStorage()->getDiskAdaptor() + ->fileAllocationIterator()} {} FileAllocationEntry:: ~FileAllocationEntry() |
