summaryrefslogtreecommitdiff
path: root/src/StreamCheckIntegrityEntry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/StreamCheckIntegrityEntry.h')
-rw-r--r--src/StreamCheckIntegrityEntry.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/StreamCheckIntegrityEntry.h b/src/StreamCheckIntegrityEntry.h
index 02e48522..8e880944 100644
--- a/src/StreamCheckIntegrityEntry.h
+++ b/src/StreamCheckIntegrityEntry.h
@@ -43,15 +43,16 @@ class StreamCheckIntegrityEntry:public PieceHashCheckIntegrityEntry
{
public:
StreamCheckIntegrityEntry(RequestGroup* requestGroup,
- Command* nextCommand = 0);
+ std::unique_ptr<Command> nextCommand =
+ std::unique_ptr<Command>());
virtual ~StreamCheckIntegrityEntry();
- virtual void onDownloadFinished(std::vector<Command*>& commands,
- DownloadEngine* e);
+ virtual void onDownloadFinished
+ (std::vector<std::unique_ptr<Command>>& commands, DownloadEngine* e);
- virtual void onDownloadIncomplete(std::vector<Command*>& commands,
- DownloadEngine* e);
+ virtual void onDownloadIncomplete
+ (std::vector<std::unique_ptr<Command>>& commands, DownloadEngine* e);
};
} // namespace aria2