diff --git a/CHANGELOG.md b/CHANGELOG.md index 20181065..2993124b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ Version 259: * Enable split compilation in http::basic_fields * Remove redundant instation of `static_string` in websocket * Remove redundant use of `asio::coroutine` in `flat_stream` +* Remove unused includes from `test::stream` + -------------------------------------------------------------------------------- Version 258: diff --git a/include/boost/beast/_experimental/test/impl/stream.hpp b/include/boost/beast/_experimental/test/impl/stream.hpp index 53bd4db7..a0bc8262 100644 --- a/include/boost/beast/_experimental/test/impl/stream.hpp +++ b/include/boost/beast/_experimental/test/impl/stream.hpp @@ -12,7 +12,6 @@ #include #include -#include #include #include #include diff --git a/include/boost/beast/_experimental/test/impl/stream.ipp b/include/boost/beast/_experimental/test/impl/stream.ipp index 2a26e91b..1570ccaa 100644 --- a/include/boost/beast/_experimental/test/impl/stream.ipp +++ b/include/boost/beast/_experimental/test/impl/stream.ipp @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include @@ -278,7 +277,7 @@ str() const auto const bs = in_->b.data(); if(buffer_bytes(bs) == 0) return {}; - auto const b = beast::buffers_front(bs); + net::const_buffer const b = *net::buffer_sequence_begin(bs); return {static_cast(b.data()), b.size()}; }