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:
Richard Hodges committed 2020-06-02 15:28:54 +02:00
1 parent 3fb693eda6
commit 4fbb0079c3
6 files changed
+9 -19

No files matched your search

@@ -112,10 +112,6 @@ public:
#else
using const_buffers_type = subrange<false>;
#ifdef BOOST_BEAST_ALLOW_DEPRECATED
using mutable_data_type = subrange<true>;
#endif
using mutable_buffers_type = subrange<true>;
#endif
-2
View File
@@ -396,8 +396,6 @@ public:
/// The ConstBufferSequence used to represent the readable bytes.
using const_buffers_type = net::const_buffer;
using mutable_data_type = net::mutable_buffer;
/// The MutableBufferSequence used to represent the writable bytes.
using mutable_buffers_type = net::mutable_buffer;
@@ -114,10 +114,6 @@ public:
/// The ConstBufferSequence used to represent the readable bytes.
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.
using mutable_buffers_type = net::mutable_buffer;
@@ -166,11 +166,6 @@ public:
using const_buffers_type = subrange<false>;
using mutable_buffers_type = subrange<true>;
#ifdef BOOST_BEAST_ALLOW_DEPRECATED
using mutable_data_type = subrange<true>;
#endif
#endif
/// The type of allocator used.
@@ -99,10 +99,6 @@ public:
#else
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>;
#endif