diff options
author | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2019-12-05 15:12:59 +0900 |
commit | b8cf34c691623e4ec329053cbbf68522a855882d (patch) | |
tree | 34da08632a99677f6b79ecb65e5b655a5b69a67f /boost/beast/http/buffer_body.hpp | |
parent | 3fdc3e5ee96dca5b11d1694975a65200787eab86 (diff) | |
download | boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.gz boost-b8cf34c691623e4ec329053cbbf68522a855882d.tar.bz2 boost-b8cf34c691623e4ec329053cbbf68522a855882d.zip |
Imported Upstream version 1.67.0upstream/1.67.0
Diffstat (limited to 'boost/beast/http/buffer_body.hpp')
-rw-r--r-- | boost/beast/http/buffer_body.hpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/boost/beast/http/buffer_body.hpp b/boost/beast/http/buffer_body.hpp index 675ea9475a..3ffe0a002a 100644 --- a/boost/beast/http/buffer_body.hpp +++ b/boost/beast/http/buffer_body.hpp @@ -105,8 +105,8 @@ struct buffer_body public: template<bool isRequest, class Fields> explicit - reader(message<isRequest, buffer_body, Fields>& m) - : body_(m.body()) + reader(header<isRequest, Fields>&, value_type& b) + : body_(b) { } @@ -167,9 +167,8 @@ struct buffer_body template<bool isRequest, class Fields> explicit - writer(message<isRequest, - buffer_body, Fields> const& msg) - : body_(msg.body()) + writer(header<isRequest, Fields> const&, value_type const& b) + : body_(b) { } |