summaryrefslogtreecommitdiff
path: root/src/HttpSkipResponseCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-04 00:39:11 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-04 00:39:11 +0900
commit57f1902ee1fd24e2fa94a5e5c0ee357335366d7d (patch)
treee3d944409286cca7fad799f7ff089378539defe0 /src/HttpSkipResponseCommand.h
parentcb205a207ce6c2f4e01247e2270e2fe687062a23 (diff)
Use std::unique_ptr for StreamFilter instead of std::shared_ptr
Diffstat (limited to 'src/HttpSkipResponseCommand.h')
-rw-r--r--src/HttpSkipResponseCommand.h4
1 files changed, 2 insertions, 2 deletions
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> httpResponse_;
- std::shared_ptr<StreamFilter> streamFilter_;
+ std::unique_ptr<StreamFilter> streamFilter_;
bool sinkFilterOnly_;
@@ -75,7 +75,7 @@ public:
virtual ~HttpSkipResponseCommand();
- void installStreamFilter(const std::shared_ptr<StreamFilter>& streamFilter);
+ void installStreamFilter(std::unique_ptr<StreamFilter> streamFilter);
void disableSocketCheck();
};