]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/boost/beast/core/static_buffer.hpp
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / boost / beast / core / static_buffer.hpp
index c4ff534f56a2243c1d49b2a4cabc798efc397e5a..fd6c7f075275daaf91f2b4c4fcc33385d6e91e8e 100644 (file)
@@ -94,14 +94,15 @@ public:
     /// The ConstBufferSequence used to represent the readable bytes.
     using const_buffers_type = __implementation_defined__;
 
-    /// The MutableBufferSequence used to represent the readable bytes.
-    using mutable_data_type = __implementation_defined__;
-
     /// The MutableBufferSequence used to represent the writable bytes.
     using mutable_buffers_type = __implementation_defined__;
 #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
 
@@ -140,7 +141,7 @@ public:
 
     /// Returns a mutable buffer sequence representing the readable bytes
     BOOST_BEAST_DECL
-    mutable_data_type
+    mutable_buffers_type
     data() noexcept;
 
     /** Returns a mutable buffer sequence representing writable bytes.