summaryrefslogtreecommitdiff
path: root/boost/beast/core/multi_buffer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/beast/core/multi_buffer.hpp')
-rw-r--r--boost/beast/core/multi_buffer.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/beast/core/multi_buffer.hpp b/boost/beast/core/multi_buffer.hpp
index ee14b419a5..046ed83a29 100644
--- a/boost/beast/core/multi_buffer.hpp
+++ b/boost/beast/core/multi_buffer.hpp
@@ -12,8 +12,8 @@
#include <boost/beast/core/detail/config.hpp>
#include <boost/beast/core/detail/allocator.hpp>
-#include <boost/beast/core/detail/empty_base_optimization.hpp>
#include <boost/asio/buffer.hpp>
+#include <boost/core/empty_value.hpp>
#include <boost/intrusive/list.hpp>
#include <iterator>
#include <limits>
@@ -37,7 +37,7 @@ namespace beast {
template<class Allocator>
class basic_multi_buffer
#if ! BOOST_BEAST_DOXYGEN
- : private detail::empty_base_optimization<
+ : private boost::empty_value<
typename detail::allocator_traits<Allocator>::
template rebind_alloc<char>>
#endif
@@ -217,7 +217,7 @@ public:
allocator_type
get_allocator() const
{
- return this->member();
+ return this->get();
}
/// Returns the size of the input sequence.