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.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/HttpServerResponseCommand.h') diff --git a/src/HttpServerResponseCommand.h b/src/HttpServerResponseCommand.h index 2df208e0..271c26a5 100644 --- a/src/HttpServerResponseCommand.h +++ b/src/HttpServerResponseCommand.h @@ -41,13 +41,13 @@ namespace aria2 { class HttpServerResponseCommand : public AbstractHttpServerResponseCommand { protected: - virtual void afterSend(const SharedHandle& httpServer, + virtual void afterSend(const std::shared_ptr& httpServer, DownloadEngine* e); public: HttpServerResponseCommand(cuid_t cuid, - const SharedHandle& httpServer, + const std::shared_ptr& httpServer, DownloadEngine* e, - const SharedHandle& socket); + const std::shared_ptr& socket); virtual ~HttpServerResponseCommand(); }; -- cgit