summaryrefslogtreecommitdiff
path: root/src/AdaptiveFileAllocationIterator.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/AdaptiveFileAllocationIterator.h
parent126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff)
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/AdaptiveFileAllocationIterator.h')
-rw-r--r--src/AdaptiveFileAllocationIterator.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/AdaptiveFileAllocationIterator.h b/src/AdaptiveFileAllocationIterator.h
index 3dc6c970..6a3fd36c 100644
--- a/src/AdaptiveFileAllocationIterator.h
+++ b/src/AdaptiveFileAllocationIterator.h
@@ -37,6 +37,8 @@
#include "FileAllocationIterator.h"
+#include <memory>
+
namespace aria2 {
class BinaryStream;
@@ -44,7 +46,7 @@ class BinaryStream;
class AdaptiveFileAllocationIterator:public FileAllocationIterator
{
private:
- SharedHandle<FileAllocationIterator> allocator_;
+ std::shared_ptr<FileAllocationIterator> allocator_;
BinaryStream* stream_;