mirror of
https://github.com/boostorg/beast.git
synced 2025-07-31 13:27:33 +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:
|
Version 164:
|
||||||
|
|
||||||
* Fix masking on continuation frames
|
* Fix masking on continuation frames
|
||||||
|
@@ -11,7 +11,7 @@
|
|||||||
#define BOOST_BEAST_DETAIL_ALLOCATOR_HPP
|
#define BOOST_BEAST_DETAIL_ALLOCATOR_HPP
|
||||||
|
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
#if BOOST_NO_CXX11_ALLOCATOR
|
#ifdef BOOST_NO_CXX11_ALLOCATOR
|
||||||
#include <boost/container/allocator_traits.hpp>
|
#include <boost/container/allocator_traits.hpp>
|
||||||
#else
|
#else
|
||||||
#include <memory>
|
#include <memory>
|
||||||
@@ -25,7 +25,7 @@ namespace detail {
|
|||||||
// implementations which falsely claim C++11
|
// implementations which falsely claim C++11
|
||||||
// compatibility.
|
// compatibility.
|
||||||
|
|
||||||
#if BOOST_NO_CXX11_ALLOCATOR
|
#ifdef BOOST_NO_CXX11_ALLOCATOR
|
||||||
template<class Alloc>
|
template<class Alloc>
|
||||||
using allocator_traits = boost::container::allocator_traits<Alloc>;
|
using allocator_traits = boost::container::allocator_traits<Alloc>;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user