From a7ae5805681b6b3e75c6647b423f2d939ebca146 Mon Sep 17 00:00:00 2001 From: Damian Jarek Date: Sun, 9 Jun 2019 19:25:17 +0200 Subject: [PATCH] Remove unused includes from `test::stream` Signed-off-by: Damian Jarek --- CHANGELOG.md | 2 ++ include/boost/beast/_experimental/test/impl/stream.hpp | 1 - include/boost/beast/_experimental/test/impl/stream.ipp | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) 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()}; }