diff options
Diffstat (limited to 'boost/beast/http/span_body.hpp')
-rw-r--r-- | boost/beast/http/span_body.hpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/boost/beast/http/span_body.hpp b/boost/beast/http/span_body.hpp index 6282ecc6d9..4688dc8741 100644 --- a/boost/beast/http/span_body.hpp +++ b/boost/beast/http/span_body.hpp @@ -73,9 +73,8 @@ public: public: template<bool isRequest, class Fields> explicit - reader(message<isRequest, - span_body, Fields>& m) - : body_(m.body()) + reader(header<isRequest, Fields>&, value_type& b) + : body_(b) { } @@ -138,9 +137,8 @@ public: template<bool isRequest, class Fields> explicit - writer(message<isRequest, - span_body, Fields> const& msg) - : body_(msg.body()) + writer(header<isRequest, Fields> const&, value_type const& b) + : body_(b) { } |