diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-04 00:39:11 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-04 00:39:11 +0900 |
| commit | 57f1902ee1fd24e2fa94a5e5c0ee357335366d7d (patch) | |
| tree | e3d944409286cca7fad799f7ff089378539defe0 /src/HttpSkipResponseCommand.h | |
| parent | cb205a207ce6c2f4e01247e2270e2fe687062a23 (diff) | |
Use std::unique_ptr for StreamFilter instead of std::shared_ptr
Diffstat (limited to 'src/HttpSkipResponseCommand.h')
| -rw-r--r-- | src/HttpSkipResponseCommand.h | 4 |
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(); }; |
