diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-06-22 01:10:38 +0900 |
| commit | 07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch) | |
| tree | 2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/AbstractProxyResponseCommand.h | |
| parent | 126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff) | |
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/AbstractProxyResponseCommand.h')
| -rw-r--r-- | src/AbstractProxyResponseCommand.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/AbstractProxyResponseCommand.h b/src/AbstractProxyResponseCommand.h index ef4c2b0d..4c85fbcc 100644 --- a/src/AbstractProxyResponseCommand.h +++ b/src/AbstractProxyResponseCommand.h @@ -44,23 +44,23 @@ class SocketCore; class AbstractProxyResponseCommand : public AbstractCommand { private: - SharedHandle<HttpConnection> httpConnection_; + std::shared_ptr<HttpConnection> httpConnection_; protected: virtual bool executeInternal(); - const SharedHandle<HttpConnection>& getHttpConnection() const + const std::shared_ptr<HttpConnection>& getHttpConnection() const { return httpConnection_; } public: AbstractProxyResponseCommand (cuid_t cuid, - const SharedHandle<Request>& req, - const SharedHandle<FileEntry>& fileEntry, + const std::shared_ptr<Request>& req, + const std::shared_ptr<FileEntry>& fileEntry, RequestGroup* requestGroup, - const SharedHandle<HttpConnection>& httpConnection, + const std::shared_ptr<HttpConnection>& httpConnection, DownloadEngine* e, - const SharedHandle<SocketCore>& s); + const std::shared_ptr<SocketCore>& s); virtual ~AbstractProxyResponseCommand(); |
