summaryrefslogtreecommitdiff
path: root/src/HttpResponse.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/HttpResponse.h
parentcb205a207ce6c2f4e01247e2270e2fe687062a23 (diff)
Use std::unique_ptr for StreamFilter instead of std::shared_ptr
Diffstat (limited to 'src/HttpResponse.h')
-rw-r--r--src/HttpResponse.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HttpResponse.h b/src/HttpResponse.h
index e2c29a62..541a295e 100644
--- a/src/HttpResponse.h
+++ b/src/HttpResponse.h
@@ -86,13 +86,13 @@ public:
const std::string& getTransferEncoding() const;
- std::shared_ptr<StreamFilter> getTransferEncodingStreamFilter() const;
+ std::unique_ptr<StreamFilter> getTransferEncodingStreamFilter() const;
bool isContentEncodingSpecified() const;
const std::string& getContentEncoding() const;
- std::shared_ptr<StreamFilter> getContentEncodingStreamFilter() const;
+ std::unique_ptr<StreamFilter> getContentEncodingStreamFilter() const;
int64_t getContentLength() const;