summaryrefslogtreecommitdiff
path: root/boost/beast/http/basic_dynamic_body.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/beast/http/basic_dynamic_body.hpp')
-rw-r--r--boost/beast/http/basic_dynamic_body.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/boost/beast/http/basic_dynamic_body.hpp b/boost/beast/http/basic_dynamic_body.hpp
index 76c499c554..7d850d76f3 100644
--- a/boost/beast/http/basic_dynamic_body.hpp
+++ b/boost/beast/http/basic_dynamic_body.hpp
@@ -70,9 +70,8 @@ struct basic_dynamic_body
public:
template<bool isRequest, class Fields>
explicit
- reader(message<isRequest,
- basic_dynamic_body, Fields>& msg)
- : body_(msg.body())
+ reader(header<isRequest, Fields>&, value_type& b)
+ : body_(b)
{
}
@@ -140,9 +139,8 @@ struct basic_dynamic_body
template<bool isRequest, class Fields>
explicit
- writer(message<isRequest,
- basic_dynamic_body, Fields> const& m)
- : body_(m.body())
+ writer(header<isRequest, Fields> const&, value_type const& b)
+ : body_(b)
{
}