summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 01:10:38 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 01:10:38 +0900
commit07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch)
tree2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/CheckIntegrityCommand.h
parent126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff)
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/CheckIntegrityCommand.h')
-rw-r--r--src/CheckIntegrityCommand.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/CheckIntegrityCommand.h b/src/CheckIntegrityCommand.h
index 6dce2ce2..3160d8d4 100644
--- a/src/CheckIntegrityCommand.h
+++ b/src/CheckIntegrityCommand.h
@@ -36,7 +36,8 @@
#define D_CHECK_INTEGRITY_COMMAND_H
#include "RealtimeCommand.h"
-#include "SharedHandle.h"
+
+#include <memory>
namespace aria2 {
@@ -44,12 +45,12 @@ class CheckIntegrityEntry;
class CheckIntegrityCommand : public RealtimeCommand {
private:
- SharedHandle<CheckIntegrityEntry> entry_;
+ std::shared_ptr<CheckIntegrityEntry> entry_;
public:
CheckIntegrityCommand(cuid_t cuid,
RequestGroup* requestGroup,
DownloadEngine* e,
- const SharedHandle<CheckIntegrityEntry>& entry);
+ const std::shared_ptr<CheckIntegrityEntry>& entry);
virtual ~CheckIntegrityCommand();