From f65dc213352603235072156b405f9f4c9039ce78 Mon Sep 17 00:00:00 2001 From: Richard Hodges Date: Thu, 5 Aug 2021 13:15:50 +0200 Subject: [PATCH] Fix missing includes: Files: beast/_experimental/test/detail/stream_state.hpp refs #2295 --- CHANGELOG.md | 1 + .../beast/_experimental/test/detail/stream_state.hpp | 3 +++ .../beast/_experimental/test/detail/stream_state.ipp | 1 + test/beast/_experimental/CMakeLists.txt | 1 + test/beast/_experimental/Jamfile | 1 + .../_experimental/_test_detail_stream_state.cpp | 12 ++++++++++++ 6 files changed, 19 insertions(+) create mode 100644 test/beast/_experimental/_test_detail_stream_state.cpp diff --git a/CHANGELOG.md b/CHANGELOG.md index 208bce40..f1ba0a94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,4 @@ +* Fix missing includes in `stream_state`. * Update GitHub Actions CI. -------------------------------------------------------------------------------- diff --git a/include/boost/beast/_experimental/test/detail/stream_state.hpp b/include/boost/beast/_experimental/test/detail/stream_state.hpp index 5df55cf3..0cfdb880 100644 --- a/include/boost/beast/_experimental/test/detail/stream_state.hpp +++ b/include/boost/beast/_experimental/test/detail/stream_state.hpp @@ -12,7 +12,10 @@ #define BOOST_BEAST_TEST_DETAIL_STREAM_STATE_HPP #include +#include +#include #include +#include #include #include diff --git a/include/boost/beast/_experimental/test/detail/stream_state.ipp b/include/boost/beast/_experimental/test/detail/stream_state.ipp index c86c7e97..268c7605 100644 --- a/include/boost/beast/_experimental/test/detail/stream_state.ipp +++ b/include/boost/beast/_experimental/test/detail/stream_state.ipp @@ -12,6 +12,7 @@ #define BOOST_BEAST_TEST_DETAIL_STREAM_STATE_IPP #include +#include namespace boost { namespace beast { diff --git a/test/beast/_experimental/CMakeLists.txt b/test/beast/_experimental/CMakeLists.txt index b588874a..9a3fd33c 100644 --- a/test/beast/_experimental/CMakeLists.txt +++ b/test/beast/_experimental/CMakeLists.txt @@ -13,6 +13,7 @@ GroupSources (test/beast/_experimental "/") add_executable (tests-beast-_experimental ${BOOST_BEAST_FILES} Jamfile + _test_detail_stream_state.cpp error.cpp icy_stream.cpp stream.cpp diff --git a/test/beast/_experimental/Jamfile b/test/beast/_experimental/Jamfile index 2070f097..7b9dddcb 100644 --- a/test/beast/_experimental/Jamfile +++ b/test/beast/_experimental/Jamfile @@ -8,6 +8,7 @@ # local SOURCES = + _test_detail_stream_state.cpp error.cpp icy_stream.cpp stream.cpp diff --git a/test/beast/_experimental/_test_detail_stream_state.cpp b/test/beast/_experimental/_test_detail_stream_state.cpp new file mode 100644 index 00000000..ab4c1a5e --- /dev/null +++ b/test/beast/_experimental/_test_detail_stream_state.cpp @@ -0,0 +1,12 @@ +// +// Copyright (c) 2016-2021 Vinnie Falco (vinnie dot falco at gmail dot com) +// Copyright (c) 2021 Richard Hodges (hodges.r@gmail.com) +// +// Distributed under the Boost Software License, Version 1.0. (See accompanying +// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +// +// Official repository: https://github.com/boostorg/beast +// + +// Test that header file is self-contained. +#include