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/HttpServerResponseCommand.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/HttpServerResponseCommand.cc') diff --git a/src/HttpServerResponseCommand.cc b/src/HttpServerResponseCommand.cc index 473afd84..a2aa1555 100644 --- a/src/HttpServerResponseCommand.cc +++ b/src/HttpServerResponseCommand.cc @@ -46,9 +46,9 @@ namespace aria2 { HttpServerResponseCommand::HttpServerResponseCommand (cuid_t cuid, - const SharedHandle& httpServer, + const std::shared_ptr& httpServer, DownloadEngine* e, - const SharedHandle& socket) + const std::shared_ptr& socket) : AbstractHttpServerResponseCommand(cuid, httpServer, e, socket) {} @@ -56,7 +56,7 @@ HttpServerResponseCommand::~HttpServerResponseCommand() {} void HttpServerResponseCommand::afterSend -(const SharedHandle& httpServer, +(const std::shared_ptr& httpServer, DownloadEngine* e) { if(httpServer->supportsPersistentConnection()) { -- cgit