diff options
Diffstat (limited to 'src/CheckIntegrityEntry.cc')
| -rw-r--r-- | src/CheckIntegrityEntry.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CheckIntegrityEntry.cc b/src/CheckIntegrityEntry.cc index a06b468e..3f23a7fa 100644 --- a/src/CheckIntegrityEntry.cc +++ b/src/CheckIntegrityEntry.cc @@ -86,11 +86,11 @@ void CheckIntegrityEntry::cutTrailingGarbage() void CheckIntegrityEntry::proceedFileAllocation (std::vector<std::unique_ptr<Command>>& commands, - const std::shared_ptr<FileAllocationEntry>& entry, + std::unique_ptr<FileAllocationEntry> entry, DownloadEngine* e) { if(getRequestGroup()->needsFileAllocation()) { - e->getFileAllocationMan()->pushEntry(entry); + e->getFileAllocationMan()->pushEntry(std::move(entry)); } else { entry->prepareForNextAction(commands, e); } |
