mirror of
https://github.com/boostorg/beast.git
synced 2025-07-30 21:07:26 +02:00
Fix BOOST_NO_CXX11_ALLOCATOR check
This commit is contained in:
committed by
Vinnie Falco
parent
6a34afb38a
commit
dabc1c8ae6
@ -1,3 +1,9 @@
|
||||
Version 165:
|
||||
|
||||
* Fix BOOST_NO_CXX11_ALLOCATOR check
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
Version 164:
|
||||
|
||||
* Fix masking on continuation frames
|
||||
|
@ -11,7 +11,7 @@
|
||||
#define BOOST_BEAST_DETAIL_ALLOCATOR_HPP
|
||||
|
||||
#include <boost/config.hpp>
|
||||
#if BOOST_NO_CXX11_ALLOCATOR
|
||||
#ifdef BOOST_NO_CXX11_ALLOCATOR
|
||||
#include <boost/container/allocator_traits.hpp>
|
||||
#else
|
||||
#include <memory>
|
||||
@ -25,7 +25,7 @@ namespace detail {
|
||||
// implementations which falsely claim C++11
|
||||
// compatibility.
|
||||
|
||||
#if BOOST_NO_CXX11_ALLOCATOR
|
||||
#ifdef BOOST_NO_CXX11_ALLOCATOR
|
||||
template<class Alloc>
|
||||
using allocator_traits = boost::container::allocator_traits<Alloc>;
|
||||
|
||||
|
Reference in New Issue
Block a user