From 8179be560e5a9e39ab8fa565b1da04a63cf0f439 Mon Sep 17 00:00:00 2001 From: Vinnie Falco Date: Tue, 10 Oct 2017 07:49:03 -0700 Subject: [PATCH] config.hpp is not a public header --- CHANGELOG.md | 1 + include/boost/beast.hpp | 2 +- include/boost/beast/config.hpp | 48 ------------------- include/boost/beast/core.hpp | 2 +- include/boost/beast/core/async_result.hpp | 2 +- include/boost/beast/core/bind_handler.hpp | 2 +- .../boost/beast/core/buffered_read_stream.hpp | 2 +- include/boost/beast/core/buffers_adapter.hpp | 2 +- include/boost/beast/core/buffers_cat.hpp | 2 +- include/boost/beast/core/buffers_prefix.hpp | 2 +- include/boost/beast/core/buffers_suffix.hpp | 2 +- .../boost/beast/core/buffers_to_string.hpp | 2 +- include/boost/beast/core/detail/config.hpp | 35 ++++++++++++++ include/boost/beast/core/error.hpp | 2 +- include/boost/beast/core/file.hpp | 2 +- include/boost/beast/core/file_base.hpp | 2 +- include/boost/beast/core/file_stdio.hpp | 2 +- include/boost/beast/core/flat_buffer.hpp | 2 +- .../boost/beast/core/flat_static_buffer.hpp | 2 +- include/boost/beast/core/handler_alloc.hpp | 2 +- include/boost/beast/core/handler_ptr.hpp | 2 +- include/boost/beast/core/multi_buffer.hpp | 2 +- include/boost/beast/core/ostream.hpp | 2 +- include/boost/beast/core/read_size.hpp | 2 +- include/boost/beast/core/span.hpp | 2 +- include/boost/beast/core/static_buffer.hpp | 2 +- include/boost/beast/core/static_string.hpp | 2 +- include/boost/beast/core/string.hpp | 2 +- include/boost/beast/core/string_param.hpp | 2 +- include/boost/beast/core/type_traits.hpp | 2 +- include/boost/beast/http.hpp | 2 +- .../boost/beast/http/basic_dynamic_body.hpp | 2 +- include/boost/beast/http/basic_file_body.hpp | 2 +- include/boost/beast/http/basic_parser.hpp | 2 +- include/boost/beast/http/buffer_body.hpp | 2 +- include/boost/beast/http/chunk_encode.hpp | 2 +- include/boost/beast/http/empty_body.hpp | 2 +- include/boost/beast/http/error.hpp | 2 +- include/boost/beast/http/field.hpp | 2 +- include/boost/beast/http/fields.hpp | 2 +- include/boost/beast/http/message.hpp | 2 +- include/boost/beast/http/parser.hpp | 2 +- include/boost/beast/http/read.hpp | 2 +- include/boost/beast/http/rfc7230.hpp | 2 +- include/boost/beast/http/serializer.hpp | 2 +- include/boost/beast/http/span_body.hpp | 2 +- include/boost/beast/http/status.hpp | 2 +- include/boost/beast/http/string_body.hpp | 2 +- include/boost/beast/http/type_traits.hpp | 2 +- include/boost/beast/http/vector_body.hpp | 2 +- include/boost/beast/http/verb.hpp | 2 +- include/boost/beast/http/write.hpp | 2 +- include/boost/beast/version.hpp | 2 +- include/boost/beast/websocket.hpp | 2 +- include/boost/beast/websocket/error.hpp | 2 +- include/boost/beast/websocket/option.hpp | 2 +- include/boost/beast/websocket/rfc6455.hpp | 2 +- include/boost/beast/websocket/role.hpp | 2 +- include/boost/beast/websocket/ssl.hpp | 2 +- include/boost/beast/websocket/stream.hpp | 2 +- include/boost/beast/websocket/teardown.hpp | 2 +- include/boost/beast/zlib.hpp | 2 +- include/boost/beast/zlib/deflate_stream.hpp | 2 +- include/boost/beast/zlib/error.hpp | 2 +- include/boost/beast/zlib/inflate_stream.hpp | 2 +- include/boost/beast/zlib/zlib.hpp | 2 +- test/beast/CMakeLists.txt | 1 - test/beast/Jamfile | 1 - test/beast/config.cpp | 11 ----- 69 files changed, 99 insertions(+), 124 deletions(-) delete mode 100644 include/boost/beast/config.hpp delete mode 100644 test/beast/config.cpp diff --git a/CHANGELOG.md b/CHANGELOG.md index bd2965d9..4d8e3821 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ Version 122: * assert on empty buffer in websocket read * Fix zlib symbol conflicts * CMake 3.5.1 is required +* config.hpp is not a public header -------------------------------------------------------------------------------- diff --git a/include/boost/beast.hpp b/include/boost/beast.hpp index 4202eb89..f2d74ed8 100644 --- a/include/boost/beast.hpp +++ b/include/boost/beast.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HPP #define BOOST_BEAST_HPP -#include // must come first +#include // must come first #include #include diff --git a/include/boost/beast/config.hpp b/include/boost/beast/config.hpp deleted file mode 100644 index b6d86acb..00000000 --- a/include/boost/beast/config.hpp +++ /dev/null @@ -1,48 +0,0 @@ -// -// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot 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 -// - -#ifndef BOOST_BEAST_CONFIG_HPP -#define BOOST_BEAST_CONFIG_HPP - -// Available to every header -#include -#include -#include - -/* - _MSC_VER and _MSC_FULL_VER by version: - - 14.0 (2015) 1900 190023026 - 14.0 (2015 Update 1) 1900 190023506 - 14.0 (2015 Update 2) 1900 190023918 - 14.0 (2015 Update 3) 1900 190024210 -*/ - -#if defined(BOOST_MSVC) -# if BOOST_MSVC_FULL_VER < 190024210 -# error Beast requires C++11: Visual Studio 2015 Update 3 or later needed -# endif - -#elif defined(BOOST_GCC) -# if(BOOST_GCC < 40801) -# error Beast requires C++11: gcc version 4.8 or later needed -# endif - -#else -# if \ - defined(BOOST_NO_CXX11_DECLTYPE) || \ - defined(BOOST_NO_CXX11_HDR_TUPLE) || \ - defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) || \ - defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) -# error Beast requires C++11: a conforming compiler is needed -# endif - -#endif - -#endif diff --git a/include/boost/beast/core.hpp b/include/boost/beast/core.hpp index c5701df4..0cc3d457 100644 --- a/include/boost/beast/core.hpp +++ b/include/boost/beast/core.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_CORE_HPP #define BOOST_BEAST_CORE_HPP -#include +#include #include #include diff --git a/include/boost/beast/core/async_result.hpp b/include/boost/beast/core/async_result.hpp index 7d85aa11..47d7aa92 100644 --- a/include/boost/beast/core/async_result.hpp +++ b/include/boost/beast/core/async_result.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_ASYNC_COMPLETION_HPP #define BOOST_BEAST_ASYNC_COMPLETION_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/bind_handler.hpp b/include/boost/beast/core/bind_handler.hpp index 6ee850f5..da3e05d1 100644 --- a/include/boost/beast/core/bind_handler.hpp +++ b/include/boost/beast/core/bind_handler.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_BIND_HANDLER_HPP #define BOOST_BEAST_BIND_HANDLER_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/buffered_read_stream.hpp b/include/boost/beast/core/buffered_read_stream.hpp index 43105b7f..1c15720a 100644 --- a/include/boost/beast/core/buffered_read_stream.hpp +++ b/include/boost/beast/core/buffered_read_stream.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_BUFFERED_READ_STREAM_HPP #define BOOST_BEAST_BUFFERED_READ_STREAM_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/buffers_adapter.hpp b/include/boost/beast/core/buffers_adapter.hpp index b09da1fa..bf401aee 100644 --- a/include/boost/beast/core/buffers_adapter.hpp +++ b/include/boost/beast/core/buffers_adapter.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_BUFFERS_ADAPTER_HPP #define BOOST_BEAST_BUFFERS_ADAPTER_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/buffers_cat.hpp b/include/boost/beast/core/buffers_cat.hpp index 5e3bf4a1..1d711b3b 100644 --- a/include/boost/beast/core/buffers_cat.hpp +++ b/include/boost/beast/core/buffers_cat.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_BUFFERS_CAT_HPP #define BOOST_BEAST_BUFFERS_CAT_HPP -#include +#include #include #include diff --git a/include/boost/beast/core/buffers_prefix.hpp b/include/boost/beast/core/buffers_prefix.hpp index 4033354d..fcbfa59c 100644 --- a/include/boost/beast/core/buffers_prefix.hpp +++ b/include/boost/beast/core/buffers_prefix.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_BUFFERS_PREFIX_HPP #define BOOST_BEAST_BUFFERS_PREFIX_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/buffers_suffix.hpp b/include/boost/beast/core/buffers_suffix.hpp index f23b23fd..9be31a87 100644 --- a/include/boost/beast/core/buffers_suffix.hpp +++ b/include/boost/beast/core/buffers_suffix.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_BUFFERS_SUFFIX_HPP #define BOOST_BEAST_BUFFERS_SUFFIX_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/buffers_to_string.hpp b/include/boost/beast/core/buffers_to_string.hpp index a62a76c9..79d25975 100644 --- a/include/boost/beast/core/buffers_to_string.hpp +++ b/include/boost/beast/core/buffers_to_string.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_BUFFERS_TO_STRING_HPP #define BOOST_BEAST_BUFFERS_TO_STRING_HPP -#include +#include #include #include diff --git a/include/boost/beast/core/detail/config.hpp b/include/boost/beast/core/detail/config.hpp index 6f4137aa..48f97e37 100644 --- a/include/boost/beast/core/detail/config.hpp +++ b/include/boost/beast/core/detail/config.hpp @@ -13,6 +13,41 @@ #include #include +// Available to every header +#include +#include +#include + +/* + _MSC_VER and _MSC_FULL_VER by version: + + 14.0 (2015) 1900 190023026 + 14.0 (2015 Update 1) 1900 190023506 + 14.0 (2015 Update 2) 1900 190023918 + 14.0 (2015 Update 3) 1900 190024210 +*/ + +#if defined(BOOST_MSVC) +# if BOOST_MSVC_FULL_VER < 190024210 +# error Beast requires C++11: Visual Studio 2015 Update 3 or later needed +# endif + +#elif defined(BOOST_GCC) +# if(BOOST_GCC < 40801) +# error Beast requires C++11: gcc version 4.8 or later needed +# endif + +#else +# if \ + defined(BOOST_NO_CXX11_DECLTYPE) || \ + defined(BOOST_NO_CXX11_HDR_TUPLE) || \ + defined(BOOST_NO_CXX11_TEMPLATE_ALIASES) || \ + defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) +# error Beast requires C++11: a conforming compiler is needed +# endif + +#endif + #if BOOST_VERSION >= 106500 || ! defined(BOOST_GCC) || BOOST_GCC < 70000 # define BOOST_BEAST_FALLTHROUGH BOOST_FALLTHROUGH #else diff --git a/include/boost/beast/core/error.hpp b/include/boost/beast/core/error.hpp index a5e10c58..f034f7a4 100644 --- a/include/boost/beast/core/error.hpp +++ b/include/boost/beast/core/error.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_ERROR_HPP #define BOOST_BEAST_ERROR_HPP -#include +#include #include #include diff --git a/include/boost/beast/core/file.hpp b/include/boost/beast/core/file.hpp index 10a8a036..09c8e820 100644 --- a/include/boost/beast/core/file.hpp +++ b/include/boost/beast/core/file.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_CORE_FILE_HPP #define BOOST_BEAST_CORE_FILE_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/file_base.hpp b/include/boost/beast/core/file_base.hpp index 38df3f1b..c2b3c53a 100644 --- a/include/boost/beast/core/file_base.hpp +++ b/include/boost/beast/core/file_base.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_CORE_FILE_BASE_HPP #define BOOST_BEAST_CORE_FILE_BASE_HPP -#include +#include #include namespace boost { diff --git a/include/boost/beast/core/file_stdio.hpp b/include/boost/beast/core/file_stdio.hpp index 81deac40..09ca0c42 100644 --- a/include/boost/beast/core/file_stdio.hpp +++ b/include/boost/beast/core/file_stdio.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_CORE_FILE_STDIO_HPP #define BOOST_BEAST_CORE_FILE_STDIO_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/flat_buffer.hpp b/include/boost/beast/core/flat_buffer.hpp index ab6f2b8e..2fe2b2be 100644 --- a/include/boost/beast/core/flat_buffer.hpp +++ b/include/boost/beast/core/flat_buffer.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_FLAT_BUFFER_HPP #define BOOST_BEAST_FLAT_BUFFER_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/flat_static_buffer.hpp b/include/boost/beast/core/flat_static_buffer.hpp index 556a1eef..8007011f 100644 --- a/include/boost/beast/core/flat_static_buffer.hpp +++ b/include/boost/beast/core/flat_static_buffer.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_FLAT_STATIC_BUFFER_HPP #define BOOST_BEAST_FLAT_STATIC_BUFFER_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/handler_alloc.hpp b/include/boost/beast/core/handler_alloc.hpp index 67e5909d..896e88a4 100644 --- a/include/boost/beast/core/handler_alloc.hpp +++ b/include/boost/beast/core/handler_alloc.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HANDLER_ALLOC_HPP #define BOOST_BEAST_HANDLER_ALLOC_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/handler_ptr.hpp b/include/boost/beast/core/handler_ptr.hpp index 4caaa9f8..f08a815c 100644 --- a/include/boost/beast/core/handler_ptr.hpp +++ b/include/boost/beast/core/handler_ptr.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HANDLER_PTR_HPP #define BOOST_BEAST_HANDLER_PTR_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/multi_buffer.hpp b/include/boost/beast/core/multi_buffer.hpp index b83d650e..ee14b419 100644 --- a/include/boost/beast/core/multi_buffer.hpp +++ b/include/boost/beast/core/multi_buffer.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_MULTI_BUFFER_HPP #define BOOST_BEAST_MULTI_BUFFER_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/ostream.hpp b/include/boost/beast/core/ostream.hpp index b72037e2..50aca179 100644 --- a/include/boost/beast/core/ostream.hpp +++ b/include/boost/beast/core/ostream.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_WRITE_OSTREAM_HPP #define BOOST_BEAST_WRITE_OSTREAM_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/read_size.hpp b/include/boost/beast/core/read_size.hpp index e483f1c2..d9aaaa61 100644 --- a/include/boost/beast/core/read_size.hpp +++ b/include/boost/beast/core/read_size.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_READ_SIZE_HELPER_HPP #define BOOST_BEAST_READ_SIZE_HELPER_HPP -#include +#include #include #include diff --git a/include/boost/beast/core/span.hpp b/include/boost/beast/core/span.hpp index 37643d1d..4aa77885 100644 --- a/include/boost/beast/core/span.hpp +++ b/include/boost/beast/core/span.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_CORE_SPAN_HPP #define BOOST_BEAST_CORE_SPAN_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/static_buffer.hpp b/include/boost/beast/core/static_buffer.hpp index df865c66..7ca76093 100644 --- a/include/boost/beast/core/static_buffer.hpp +++ b/include/boost/beast/core/static_buffer.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_STATIC_BUFFER_HPP #define BOOST_BEAST_STATIC_BUFFER_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/static_string.hpp b/include/boost/beast/core/static_string.hpp index 495d7496..991c2e64 100644 --- a/include/boost/beast/core/static_string.hpp +++ b/include/boost/beast/core/static_string.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_STATIC_STRING_HPP #define BOOST_BEAST_STATIC_STRING_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/string.hpp b/include/boost/beast/core/string.hpp index 7ae307df..f262b565 100644 --- a/include/boost/beast/core/string.hpp +++ b/include/boost/beast/core/string.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_STRING_HPP #define BOOST_BEAST_STRING_HPP -#include +#include #include #ifndef BOOST_BEAST_NO_BOOST_STRING_VIEW # if BOOST_VERSION >= 106400 diff --git a/include/boost/beast/core/string_param.hpp b/include/boost/beast/core/string_param.hpp index 5534fb8f..a068cc40 100644 --- a/include/boost/beast/core/string_param.hpp +++ b/include/boost/beast/core/string_param.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_STRING_PARAM_HPP #define BOOST_BEAST_STRING_PARAM_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/core/type_traits.hpp b/include/boost/beast/core/type_traits.hpp index 0be61b25..269f3da6 100644 --- a/include/boost/beast/core/type_traits.hpp +++ b/include/boost/beast/core/type_traits.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_TYPE_TRAITS_HPP #define BOOST_BEAST_TYPE_TRAITS_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http.hpp b/include/boost/beast/http.hpp index 1bf41250..c419724d 100644 --- a/include/boost/beast/http.hpp +++ b/include/boost/beast/http.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_HPP #define BOOST_BEAST_HTTP_HPP -#include +#include #include #include diff --git a/include/boost/beast/http/basic_dynamic_body.hpp b/include/boost/beast/http/basic_dynamic_body.hpp index 416f4239..fb4c92fa 100644 --- a/include/boost/beast/http/basic_dynamic_body.hpp +++ b/include/boost/beast/http/basic_dynamic_body.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_BASIC_DYNAMIC_BODY_HPP #define BOOST_BEAST_HTTP_BASIC_DYNAMIC_BODY_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/basic_file_body.hpp b/include/boost/beast/http/basic_file_body.hpp index c6b25044..8767a71e 100644 --- a/include/boost/beast/http/basic_file_body.hpp +++ b/include/boost/beast/http/basic_file_body.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_BASIC_FILE_BODY_HPP #define BOOST_BEAST_HTTP_BASIC_FILE_BODY_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/basic_parser.hpp b/include/boost/beast/http/basic_parser.hpp index 01bf6ebb..b4b138a9 100644 --- a/include/boost/beast/http/basic_parser.hpp +++ b/include/boost/beast/http/basic_parser.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_BASIC_PARSER_HPP #define BOOST_BEAST_HTTP_BASIC_PARSER_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/buffer_body.hpp b/include/boost/beast/http/buffer_body.hpp index 780e63ee..43032cda 100644 --- a/include/boost/beast/http/buffer_body.hpp +++ b/include/boost/beast/http/buffer_body.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_BUFFER_BODY_HPP #define BOOST_BEAST_HTTP_BUFFER_BODY_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/chunk_encode.hpp b/include/boost/beast/http/chunk_encode.hpp index 5916aa29..2afc099b 100644 --- a/include/boost/beast/http/chunk_encode.hpp +++ b/include/boost/beast/http/chunk_encode.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_CHUNK_ENCODE_HPP #define BOOST_BEAST_HTTP_CHUNK_ENCODE_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/empty_body.hpp b/include/boost/beast/http/empty_body.hpp index 2a7adfe5..32c46a9c 100644 --- a/include/boost/beast/http/empty_body.hpp +++ b/include/boost/beast/http/empty_body.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_EMPTY_BODY_HPP #define BOOST_BEAST_HTTP_EMPTY_BODY_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/error.hpp b/include/boost/beast/http/error.hpp index 20852611..841a99de 100644 --- a/include/boost/beast/http/error.hpp +++ b/include/boost/beast/http/error.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_ERROR_HPP #define BOOST_BEAST_HTTP_ERROR_HPP -#include +#include #include namespace boost { diff --git a/include/boost/beast/http/field.hpp b/include/boost/beast/http/field.hpp index fa08b629..3d1446ad 100644 --- a/include/boost/beast/http/field.hpp +++ b/include/boost/beast/http/field.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_FIELD_HPP #define BOOST_BEAST_HTTP_FIELD_HPP -#include +#include #include #include diff --git a/include/boost/beast/http/fields.hpp b/include/boost/beast/http/fields.hpp index e4a1d2a3..e4ef229f 100644 --- a/include/boost/beast/http/fields.hpp +++ b/include/boost/beast/http/fields.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_FIELDS_HPP #define BOOST_BEAST_HTTP_FIELDS_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/message.hpp b/include/boost/beast/http/message.hpp index 0c7fc48d..7453d8d6 100644 --- a/include/boost/beast/http/message.hpp +++ b/include/boost/beast/http/message.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_MESSAGE_HPP #define BOOST_BEAST_HTTP_MESSAGE_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/parser.hpp b/include/boost/beast/http/parser.hpp index c6ff1b9a..59a7b14f 100644 --- a/include/boost/beast/http/parser.hpp +++ b/include/boost/beast/http/parser.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_PARSER_HPP #define BOOST_BEAST_HTTP_PARSER_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/read.hpp b/include/boost/beast/http/read.hpp index 91fa7937..58b7cf9f 100644 --- a/include/boost/beast/http/read.hpp +++ b/include/boost/beast/http/read.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_READ_HPP #define BOOST_BEAST_HTTP_READ_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/rfc7230.hpp b/include/boost/beast/http/rfc7230.hpp index e7d59f1c..952cb929 100644 --- a/include/boost/beast/http/rfc7230.hpp +++ b/include/boost/beast/http/rfc7230.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_RFC7230_HPP #define BOOST_BEAST_HTTP_RFC7230_HPP -#include +#include #include #include diff --git a/include/boost/beast/http/serializer.hpp b/include/boost/beast/http/serializer.hpp index 7ccae76d..e375f163 100644 --- a/include/boost/beast/http/serializer.hpp +++ b/include/boost/beast/http/serializer.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_SERIALIZER_HPP #define BOOST_BEAST_HTTP_SERIALIZER_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/span_body.hpp b/include/boost/beast/http/span_body.hpp index 3530179b..a2dd81f9 100644 --- a/include/boost/beast/http/span_body.hpp +++ b/include/boost/beast/http/span_body.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_SPAN_BODY_HPP #define BOOST_BEAST_HTTP_SPAN_BODY_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/status.hpp b/include/boost/beast/http/status.hpp index 7ed38ea3..8d7938ca 100644 --- a/include/boost/beast/http/status.hpp +++ b/include/boost/beast/http/status.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_STATUS_HPP #define BOOST_BEAST_HTTP_STATUS_HPP -#include +#include #include #include diff --git a/include/boost/beast/http/string_body.hpp b/include/boost/beast/http/string_body.hpp index 25523c9a..e8a38ce1 100644 --- a/include/boost/beast/http/string_body.hpp +++ b/include/boost/beast/http/string_body.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_STRING_BODY_HPP #define BOOST_BEAST_HTTP_STRING_BODY_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/type_traits.hpp b/include/boost/beast/http/type_traits.hpp index 4259c195..1328c7f3 100644 --- a/include/boost/beast/http/type_traits.hpp +++ b/include/boost/beast/http/type_traits.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_TYPE_TRAITS_HPP #define BOOST_BEAST_HTTP_TYPE_TRAITS_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/vector_body.hpp b/include/boost/beast/http/vector_body.hpp index e4ab3ea1..8e5948dd 100644 --- a/include/boost/beast/http/vector_body.hpp +++ b/include/boost/beast/http/vector_body.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_VECTOR_BODY_HPP #define BOOST_BEAST_HTTP_VECTOR_BODY_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/http/verb.hpp b/include/boost/beast/http/verb.hpp index 91877801..1540a243 100644 --- a/include/boost/beast/http/verb.hpp +++ b/include/boost/beast/http/verb.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_VERB_HPP #define BOOST_BEAST_HTTP_VERB_HPP -#include +#include #include #include diff --git a/include/boost/beast/http/write.hpp b/include/boost/beast/http/write.hpp index f163a302..5d79fb19 100644 --- a/include/boost/beast/http/write.hpp +++ b/include/boost/beast/http/write.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_HTTP_WRITE_HPP #define BOOST_BEAST_HTTP_WRITE_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/version.hpp b/include/boost/beast/version.hpp index 08c9dae2..d189640e 100644 --- a/include/boost/beast/version.hpp +++ b/include/boost/beast/version.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_VERSION_HPP #define BOOST_BEAST_VERSION_HPP -#include +#include #include /** @def BOOST_BEAST_API_VERSION diff --git a/include/boost/beast/websocket.hpp b/include/boost/beast/websocket.hpp index 88e654fd..24b9d25e 100644 --- a/include/boost/beast/websocket.hpp +++ b/include/boost/beast/websocket.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_WEBSOCKET_HPP #define BOOST_BEAST_WEBSOCKET_HPP -#include +#include #include #include diff --git a/include/boost/beast/websocket/error.hpp b/include/boost/beast/websocket/error.hpp index 820e553d..4e367ff4 100644 --- a/include/boost/beast/websocket/error.hpp +++ b/include/boost/beast/websocket/error.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_WEBSOCKET_ERROR_HPP #define BOOST_BEAST_WEBSOCKET_ERROR_HPP -#include +#include #include namespace boost { diff --git a/include/boost/beast/websocket/option.hpp b/include/boost/beast/websocket/option.hpp index b3f65acd..83788994 100644 --- a/include/boost/beast/websocket/option.hpp +++ b/include/boost/beast/websocket/option.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_WEBSOCKET_OPTION_HPP #define BOOST_BEAST_WEBSOCKET_OPTION_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/websocket/rfc6455.hpp b/include/boost/beast/websocket/rfc6455.hpp index 744d80d7..921f8963 100644 --- a/include/boost/beast/websocket/rfc6455.hpp +++ b/include/boost/beast/websocket/rfc6455.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_WEBSOCKET_RFC6455_HPP #define BOOST_BEAST_WEBSOCKET_RFC6455_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/websocket/role.hpp b/include/boost/beast/websocket/role.hpp index 54fa1411..d8869365 100644 --- a/include/boost/beast/websocket/role.hpp +++ b/include/boost/beast/websocket/role.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_WEBSOCKET_ROLE_HPP #define BOOST_BEAST_WEBSOCKET_ROLE_HPP -#include +#include namespace boost { namespace beast { diff --git a/include/boost/beast/websocket/ssl.hpp b/include/boost/beast/websocket/ssl.hpp index 1314954b..6c116a7b 100644 --- a/include/boost/beast/websocket/ssl.hpp +++ b/include/boost/beast/websocket/ssl.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_WEBSOCKET_SSL_HPP #define BOOST_BEAST_WEBSOCKET_SSL_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/websocket/stream.hpp b/include/boost/beast/websocket/stream.hpp index 7328168d..f8fb8f9e 100644 --- a/include/boost/beast/websocket/stream.hpp +++ b/include/boost/beast/websocket/stream.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_WEBSOCKET_STREAM_HPP #define BOOST_BEAST_WEBSOCKET_STREAM_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/websocket/teardown.hpp b/include/boost/beast/websocket/teardown.hpp index 0feacbde..b1ceab81 100644 --- a/include/boost/beast/websocket/teardown.hpp +++ b/include/boost/beast/websocket/teardown.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_WEBSOCKET_TEARDOWN_HPP #define BOOST_BEAST_WEBSOCKET_TEARDOWN_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/zlib.hpp b/include/boost/beast/zlib.hpp index 2d672c33..87ce6096 100644 --- a/include/boost/beast/zlib.hpp +++ b/include/boost/beast/zlib.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_ZLIB_HPP #define BOOST_BEAST_ZLIB_HPP -#include +#include #include #include diff --git a/include/boost/beast/zlib/deflate_stream.hpp b/include/boost/beast/zlib/deflate_stream.hpp index 359b5656..f57a0a50 100644 --- a/include/boost/beast/zlib/deflate_stream.hpp +++ b/include/boost/beast/zlib/deflate_stream.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_ZLIB_DEFLATE_STREAM_HPP #define BOOST_BEAST_ZLIB_DEFLATE_STREAM_HPP -#include +#include #include #include #include diff --git a/include/boost/beast/zlib/error.hpp b/include/boost/beast/zlib/error.hpp index 0b37e426..797c511b 100644 --- a/include/boost/beast/zlib/error.hpp +++ b/include/boost/beast/zlib/error.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_ZLIB_ERROR_HPP #define BOOST_BEAST_ZLIB_ERROR_HPP -#include +#include #include namespace boost { diff --git a/include/boost/beast/zlib/inflate_stream.hpp b/include/boost/beast/zlib/inflate_stream.hpp index ab375b07..8410cb8b 100644 --- a/include/boost/beast/zlib/inflate_stream.hpp +++ b/include/boost/beast/zlib/inflate_stream.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_ZLIB_INFLATE_STREAM_HPP #define BOOST_BEAST_ZLIB_INFLATE_STREAM_HPP -#include +#include #include // This is a derivative work based on Zlib, copyright below: diff --git a/include/boost/beast/zlib/zlib.hpp b/include/boost/beast/zlib/zlib.hpp index b830f2d9..b8dddcbf 100644 --- a/include/boost/beast/zlib/zlib.hpp +++ b/include/boost/beast/zlib/zlib.hpp @@ -10,7 +10,7 @@ #ifndef BOOST_BEAST_ZLIB_ZLIB_HPP #define BOOST_BEAST_ZLIB_ZLIB_HPP -#include +#include #include #include diff --git a/test/beast/CMakeLists.txt b/test/beast/CMakeLists.txt index 2a16f171..a538fd78 100644 --- a/test/beast/CMakeLists.txt +++ b/test/beast/CMakeLists.txt @@ -16,7 +16,6 @@ add_executable (tests-beast ${EXTRAS_INCLUDES} ${TEST_MAIN} Jamfile - config.cpp core.cpp http.cpp version.cpp diff --git a/test/beast/Jamfile b/test/beast/Jamfile index 99d81174..4db6be21 100644 --- a/test/beast/Jamfile +++ b/test/beast/Jamfile @@ -8,7 +8,6 @@ # alias run-tests : - [ compile config.cpp ] [ compile core.cpp ] [ compile http.cpp ] [ compile version.cpp ] diff --git a/test/beast/config.cpp b/test/beast/config.cpp deleted file mode 100644 index a7f4dd70..00000000 --- a/test/beast/config.cpp +++ /dev/null @@ -1,11 +0,0 @@ -// -// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot 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