From 07d270c87e6f9184aea4ca17eb26e466712e8db2 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 22 Jun 2013 01:10:38 +0900 Subject: Require -std=c++11 and use std::shared_ptr instead of SharedHandle --- src/AdaptiveFileAllocationIterator.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/AdaptiveFileAllocationIterator.h') 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 + namespace aria2 { class BinaryStream; @@ -44,7 +46,7 @@ class BinaryStream; class AdaptiveFileAllocationIterator:public FileAllocationIterator { private: - SharedHandle allocator_; + std::shared_ptr allocator_; BinaryStream* stream_; -- cgit