From 57f1902ee1fd24e2fa94a5e5c0ee357335366d7d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 4 Jul 2013 00:39:11 +0900 Subject: Use std::unique_ptr for StreamFilter 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 0e486055..f7c8aef2 100644 --- a/src/HttpSkipResponseCommand.h +++ b/src/HttpSkipResponseCommand.h @@ -49,7 +49,7 @@ private: std::unique_ptr httpResponse_; - std::shared_ptr streamFilter_; + std::unique_ptr streamFilter_; bool sinkFilterOnly_; @@ -75,7 +75,7 @@ public: virtual ~HttpSkipResponseCommand(); - void installStreamFilter(const std::shared_ptr& streamFilter); + void installStreamFilter(std::unique_ptr streamFilter); void disableSocketCheck(); }; -- cgit