summaryrefslogtreecommitdiff
path: root/boost/beast/http/empty_body.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/beast/http/empty_body.hpp')
-rw-r--r--boost/beast/http/empty_body.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/boost/beast/http/empty_body.hpp b/boost/beast/http/empty_body.hpp
index 1845a22992..d56c14b4ef 100644
--- a/boost/beast/http/empty_body.hpp
+++ b/boost/beast/http/empty_body.hpp
@@ -63,7 +63,7 @@ struct empty_body
{
template<bool isRequest, class Fields>
explicit
- reader(message<isRequest, empty_body, Fields>&)
+ reader(header<isRequest, Fields>&, value_type&)
{
}
@@ -100,12 +100,11 @@ struct empty_body
struct writer
{
using const_buffers_type =
- boost::asio::null_buffers;
+ boost::asio::const_buffer;
template<bool isRequest, class Fields>
explicit
- writer(message<isRequest,
- empty_body, Fields> const&)
+ writer(header<isRequest, Fields> const&, value_type const&)
{
}