mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 21:34:46 +02:00
Remove redundant includes in core
Signed-off-by: Damian Jarek <damian.jarek93@gmail.com>
This commit is contained in:
committed by
Vinnie Falco
parent
7e8af58307
commit
9847fd6e69
@@ -6,6 +6,7 @@ Version 260:
|
||||
* Cleanup transitive includes in beast/core/detail/type_traits.hpp
|
||||
* Simplify generation of sec-websocket-key
|
||||
* Move detail::base64 helpers to tests
|
||||
* Remove redundant includes in core
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
|
@@ -11,10 +11,7 @@
|
||||
#define BOOST_BEAST_DETAIL_SHA1_HPP
|
||||
|
||||
#include <boost/beast/core/detail/config.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
|
||||
// Based on https://github.com/vog/sha1
|
||||
/*
|
||||
|
@@ -12,7 +12,6 @@
|
||||
|
||||
#include <boost/beast/core/detail/sha1.hpp>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <cstring>
|
||||
|
||||
|
@@ -11,10 +11,6 @@
|
||||
#define BOOST_BEAST_IMPL_STATIC_BUFFER_HPP
|
||||
|
||||
#include <boost/asio/buffer.hpp>
|
||||
#include <boost/throw_exception.hpp>
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <iterator>
|
||||
#include <stdexcept>
|
||||
|
||||
namespace boost {
|
||||
|
@@ -13,9 +13,6 @@
|
||||
#include <boost/beast/core/static_buffer.hpp>
|
||||
#include <boost/asio/buffer.hpp>
|
||||
#include <boost/throw_exception.hpp>
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
#include <iterator>
|
||||
#include <stdexcept>
|
||||
|
||||
namespace boost {
|
||||
|
@@ -13,11 +13,7 @@
|
||||
#include <boost/beast/core/detail/config.hpp>
|
||||
#include <boost/beast/core/detail/buffers_pair.hpp>
|
||||
#include <boost/asio/buffer.hpp>
|
||||
#include <boost/assert.hpp>
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <cstddef>
|
||||
#include <cstring>
|
||||
|
||||
namespace boost {
|
||||
namespace beast {
|
||||
@@ -134,7 +130,7 @@ public:
|
||||
BOOST_BEAST_DECL
|
||||
const_buffers_type
|
||||
data() const noexcept;
|
||||
|
||||
|
||||
/// Returns a constant buffer sequence representing the readable bytes
|
||||
const_buffers_type
|
||||
cdata() const noexcept
|
||||
@@ -148,7 +144,7 @@ public:
|
||||
data() noexcept;
|
||||
|
||||
/** Returns a mutable buffer sequence representing writable bytes.
|
||||
|
||||
|
||||
Returns a mutable buffer sequence representing the writable
|
||||
bytes containing exactly `n` bytes of storage. Memory may be
|
||||
reallocated as needed.
|
||||
|
Reference in New Issue
Block a user