Add buffer_size

This commit is contained in:
Vinnie Falco committed 2019-02-03 12:59:11 -08:00
1 parent 64149f434a
commit 35dbd140d4
64 files changed
+427 -379

No files matched your search

+1 -1
View File
@@ -11,6 +11,7 @@
#define BOOST_BEAST_HTTP_STRING_BODY_HPP
#include <boost/beast/core/detail/config.hpp>
#include <boost/beast/core/buffer_size.hpp>
#include <boost/beast/http/error.hpp>
#include <boost/beast/http/message.hpp>
#include <boost/beast/core/buffers_range.hpp>
@@ -117,7 +118,6 @@ public:
put(ConstBufferSequence const& buffers,
error_code& ec)
{
using net::buffer_size;
auto const extra = buffer_size(buffers);
auto const size = body_.size();
try