mirror of
https://github.com/boostorg/beast.git
synced 2025-08-03 14:54:32 +02:00
Remove mutable_data_type from Dyanmic Buffers (API Change):
API Changes: * Code that depends on mutable_data_type should be refactored to use mutable_buffers_type. Classes affected are: - buffers_adaptor - flat_buffer - flat_static_buffer - multi_buffer - static_buffer refs #1934
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
* Remove `mutable_data_type` from Dyanmic Buffers (API Change)
|
||||||
* Remove deprecated lowest_layer from test::stream
|
* Remove deprecated lowest_layer from test::stream
|
||||||
* Remove handler_pointer (API Change)
|
* Remove handler_pointer (API Change)
|
||||||
* Remove websocket::role_type (API Change)
|
* Remove websocket::role_type (API Change)
|
||||||
@@ -6,6 +7,14 @@
|
|||||||
|
|
||||||
API Changes:
|
API Changes:
|
||||||
|
|
||||||
|
* Code that depends on `mutable_data_type` should be refactored to use
|
||||||
|
`mutable_buffers_type`. Classes affected are:
|
||||||
|
- `buffers_adaptor`
|
||||||
|
- `flat_buffer`
|
||||||
|
- `flat_static_buffer`
|
||||||
|
- `multi_buffer`
|
||||||
|
- `static_buffer`
|
||||||
|
|
||||||
* handler_ptr has been removed. Users should use net::bind_handler and/or
|
* handler_ptr has been removed. Users should use net::bind_handler and/or
|
||||||
bind_front_handler instead.
|
bind_front_handler instead.
|
||||||
|
|
||||||
|
@@ -112,10 +112,6 @@ public:
|
|||||||
#else
|
#else
|
||||||
using const_buffers_type = subrange<false>;
|
using const_buffers_type = subrange<false>;
|
||||||
|
|
||||||
#ifdef BOOST_BEAST_ALLOW_DEPRECATED
|
|
||||||
using mutable_data_type = subrange<true>;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using mutable_buffers_type = subrange<true>;
|
using mutable_buffers_type = subrange<true>;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -396,8 +396,6 @@ public:
|
|||||||
/// The ConstBufferSequence used to represent the readable bytes.
|
/// The ConstBufferSequence used to represent the readable bytes.
|
||||||
using const_buffers_type = net::const_buffer;
|
using const_buffers_type = net::const_buffer;
|
||||||
|
|
||||||
using mutable_data_type = net::mutable_buffer;
|
|
||||||
|
|
||||||
/// The MutableBufferSequence used to represent the writable bytes.
|
/// The MutableBufferSequence used to represent the writable bytes.
|
||||||
using mutable_buffers_type = net::mutable_buffer;
|
using mutable_buffers_type = net::mutable_buffer;
|
||||||
|
|
||||||
|
@@ -114,10 +114,6 @@ public:
|
|||||||
/// The ConstBufferSequence used to represent the readable bytes.
|
/// The ConstBufferSequence used to represent the readable bytes.
|
||||||
using const_buffers_type = net::const_buffer;
|
using const_buffers_type = net::const_buffer;
|
||||||
|
|
||||||
#ifdef BOOST_BEAST_ALLOW_DEPRECATED
|
|
||||||
using mutable_data_type = net::mutable_buffer;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/// The MutableBufferSequence used to represent the writable bytes.
|
/// The MutableBufferSequence used to represent the writable bytes.
|
||||||
using mutable_buffers_type = net::mutable_buffer;
|
using mutable_buffers_type = net::mutable_buffer;
|
||||||
|
|
||||||
|
@@ -166,11 +166,6 @@ public:
|
|||||||
using const_buffers_type = subrange<false>;
|
using const_buffers_type = subrange<false>;
|
||||||
|
|
||||||
using mutable_buffers_type = subrange<true>;
|
using mutable_buffers_type = subrange<true>;
|
||||||
|
|
||||||
#ifdef BOOST_BEAST_ALLOW_DEPRECATED
|
|
||||||
using mutable_data_type = subrange<true>;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/// The type of allocator used.
|
/// The type of allocator used.
|
||||||
|
@@ -99,10 +99,6 @@ public:
|
|||||||
#else
|
#else
|
||||||
using const_buffers_type = detail::buffers_pair<false>;
|
using const_buffers_type = detail::buffers_pair<false>;
|
||||||
|
|
||||||
#ifdef BOOST_BEAST_ALLOW_DEPRECATED
|
|
||||||
using mutable_data_type = detail::buffers_pair<true>;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
using mutable_buffers_type = detail::buffers_pair<true>;
|
using mutable_buffers_type = detail::buffers_pair<true>;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user