summaryrefslogtreecommitdiff
path: root/src/HttpConnection.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-03 23:42:55 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-07-03 23:42:55 +0900
commit9a38c102dc4ff4a0a7cc96ccef7cd1400f37eea5 (patch)
tree22623c7b5af1912f58bd4395c4b6ba7ed62da83f /src/HttpConnection.h
parent7e6db8d801973bfc62b80f411f14d1d332a1f7aa (diff)
Use std::unique_ptr for HttpResponse instead of std::shared_ptr
Diffstat (limited to 'src/HttpConnection.h')
-rw-r--r--src/HttpConnection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/HttpConnection.h b/src/HttpConnection.h
index 0d049734..70c133f8 100644
--- a/src/HttpConnection.h
+++ b/src/HttpConnection.h
@@ -117,7 +117,7 @@ public:
*
* @return HttpResponse or 0 if whole response header is not received
*/
- std::shared_ptr<HttpResponse> receiveResponse();
+ std::unique_ptr<HttpResponse> receiveResponse();
std::shared_ptr<HttpRequest> getFirstHttpRequest() const;