summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityEntry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/CheckIntegrityEntry.h')
-rw-r--r--src/CheckIntegrityEntry.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/CheckIntegrityEntry.h b/src/CheckIntegrityEntry.h
index 64fe0506..dc60bfbc 100644
--- a/src/CheckIntegrityEntry.h
+++ b/src/CheckIntegrityEntry.h
@@ -38,8 +38,8 @@
#include "RequestGroupEntry.h"
#include <vector>
+#include <memory>
-#include "SharedHandle.h"
#include "ProgressAwareEntry.h"
namespace aria2 {
@@ -51,12 +51,12 @@ class FileAllocationEntry;
class CheckIntegrityEntry : public RequestGroupEntry,
public ProgressAwareEntry {
private:
- SharedHandle<IteratableValidator> validator_;
+ std::shared_ptr<IteratableValidator> validator_;
protected:
- void setValidator(const SharedHandle<IteratableValidator>& validator);
+ void setValidator(const std::shared_ptr<IteratableValidator>& validator);
void proceedFileAllocation(std::vector<Command*>& commands,
- const SharedHandle<FileAllocationEntry>& entry,
+ const std::shared_ptr<FileAllocationEntry>& entry,
DownloadEngine* e);
public:
CheckIntegrityEntry(RequestGroup* requestGroup, Command* nextCommand = 0);