From 9a38c102dc4ff4a0a7cc96ccef7cd1400f37eea5 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 3 Jul 2013 23:42:55 +0900 Subject: Use std::unique_ptr for HttpResponse instead of std::shared_ptr --- src/HttpSkipResponseCommand.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/HttpSkipResponseCommand.h') diff --git a/src/HttpSkipResponseCommand.h b/src/HttpSkipResponseCommand.h index d30e1889..0e486055 100644 --- a/src/HttpSkipResponseCommand.h +++ b/src/HttpSkipResponseCommand.h @@ -47,7 +47,7 @@ class HttpSkipResponseCommand : public AbstractCommand { private: std::shared_ptr httpConnection_; - std::shared_ptr httpResponse_; + std::unique_ptr httpResponse_; std::shared_ptr streamFilter_; @@ -69,7 +69,7 @@ public: const std::shared_ptr& fileEntry, RequestGroup* requestGroup, const std::shared_ptr& httpConnection, - const std::shared_ptr& httpResponse, + std::unique_ptr httpResponse, DownloadEngine* e, const std::shared_ptr& s); -- cgit