mirror of
https://github.com/boostorg/beast.git
synced 2025-08-01 05:44:38 +02:00
Fix missing includes:
Files: beast/_experimental/test/detail/stream_state.hpp refs #2295
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
* Fix missing includes in `stream_state`.
|
||||
* Update GitHub Actions CI.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
@@ -12,7 +12,10 @@
|
||||
#define BOOST_BEAST_TEST_DETAIL_STREAM_STATE_HPP
|
||||
|
||||
#include <boost/asio/any_io_executor.hpp>
|
||||
#include <boost/beast/core/detail/config.hpp>
|
||||
#include <boost/beast/_experimental/test/fail_count.hpp>
|
||||
#include <boost/beast/core/detail/service_base.hpp>
|
||||
#include <boost/beast/core/flat_buffer.hpp>
|
||||
#include <boost/smart_ptr/weak_ptr.hpp>
|
||||
|
||||
#include <condition_variable>
|
||||
|
@@ -12,6 +12,7 @@
|
||||
#define BOOST_BEAST_TEST_DETAIL_STREAM_STATE_IPP
|
||||
|
||||
#include <boost/beast/_experimental/test/error.hpp>
|
||||
#include <boost/make_shared.hpp>
|
||||
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
|
@@ -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
|
||||
|
@@ -8,6 +8,7 @@
|
||||
#
|
||||
|
||||
local SOURCES =
|
||||
_test_detail_stream_state.cpp
|
||||
error.cpp
|
||||
icy_stream.cpp
|
||||
stream.cpp
|
||||
|
12
test/beast/_experimental/_test_detail_stream_state.cpp
Normal file
12
test/beast/_experimental/_test_detail_stream_state.cpp
Normal file
@@ -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 <boost/beast/_experimental/test/detail/stream_state.hpp>
|
Reference in New Issue
Block a user