mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
Remove unused includes from test::stream
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
@ -6,6 +6,8 @@ Version 259:
|
|||||||
* Enable split compilation in http::basic_fields
|
* Enable split compilation in http::basic_fields
|
||||||
* Remove redundant instation of `static_string` in websocket
|
* Remove redundant instation of `static_string` in websocket
|
||||||
* Remove redundant use of `asio::coroutine` in `flat_stream`
|
* Remove redundant use of `asio::coroutine` in `flat_stream`
|
||||||
|
* Remove unused includes from `test::stream`
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Version 258:
|
Version 258:
|
||||||
|
@ -12,7 +12,6 @@
|
|||||||
|
|
||||||
#include <boost/beast/core/bind_handler.hpp>
|
#include <boost/beast/core/bind_handler.hpp>
|
||||||
#include <boost/beast/core/buffer_traits.hpp>
|
#include <boost/beast/core/buffer_traits.hpp>
|
||||||
#include <boost/beast/core/buffers_prefix.hpp>
|
|
||||||
#include <boost/beast/core/detail/service_base.hpp>
|
#include <boost/beast/core/detail/service_base.hpp>
|
||||||
#include <boost/beast/core/detail/type_traits.hpp>
|
#include <boost/beast/core/detail/type_traits.hpp>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
#include <boost/beast/_experimental/test/stream.hpp>
|
#include <boost/beast/_experimental/test/stream.hpp>
|
||||||
#include <boost/beast/core/bind_handler.hpp>
|
#include <boost/beast/core/bind_handler.hpp>
|
||||||
#include <boost/beast/core/buffer_traits.hpp>
|
#include <boost/beast/core/buffer_traits.hpp>
|
||||||
#include <boost/beast/core/buffers_prefix.hpp>
|
|
||||||
#include <boost/make_shared.hpp>
|
#include <boost/make_shared.hpp>
|
||||||
#include <stdexcept>
|
#include <stdexcept>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
@ -278,7 +277,7 @@ str() const
|
|||||||
auto const bs = in_->b.data();
|
auto const bs = in_->b.data();
|
||||||
if(buffer_bytes(bs) == 0)
|
if(buffer_bytes(bs) == 0)
|
||||||
return {};
|
return {};
|
||||||
auto const b = beast::buffers_front(bs);
|
net::const_buffer const b = *net::buffer_sequence_begin(bs);
|
||||||
return {static_cast<char const*>(b.data()), b.size()};
|
return {static_cast<char const*>(b.data()), b.size()};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user