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