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/DownloadEngineFactory.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/DownloadEngineFactory.h') diff --git a/src/DownloadEngineFactory.h b/src/DownloadEngineFactory.h index 1d42a252..14c75b5a 100644 --- a/src/DownloadEngineFactory.h +++ b/src/DownloadEngineFactory.h @@ -38,8 +38,7 @@ #include "common.h" #include - -#include "SharedHandle.h" +#include namespace aria2 { @@ -51,9 +50,9 @@ class DownloadEngineFactory { public: DownloadEngineFactory(); - SharedHandle + std::shared_ptr newDownloadEngine - (Option* op, const std::vector >& requestGroups); + (Option* op, const std::vector >& requestGroups); }; } // namespace aria2 -- cgit