mirror of
https://github.com/boostorg/core.git
synced 2025-05-11 13:13:55 +00:00
Work around g++ 4.6 failure
This commit is contained in:
parent
99515c341e
commit
8c65a5b0e8
@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
#include <boost/core/max_align.hpp>
|
#include <boost/core/max_align.hpp>
|
||||||
#include <boost/config.hpp>
|
#include <boost/config.hpp>
|
||||||
|
#include <boost/config/workaround.hpp>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <new>
|
#include <new>
|
||||||
|
|
||||||
@ -25,7 +26,7 @@ class memory_resource
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
||||||
#if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS)
|
#if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) || BOOST_WORKAROUND(BOOST_GCC, < 40700)
|
||||||
|
|
||||||
virtual ~memory_resource() {}
|
virtual ~memory_resource() {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user