mirror of
https://github.com/boostorg/core.git
synced 2025-05-09 23:03:54 +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/config.hpp>
|
||||
#include <boost/config/workaround.hpp>
|
||||
#include <cstddef>
|
||||
#include <new>
|
||||
|
||||
@ -25,7 +26,7 @@ class memory_resource
|
||||
{
|
||||
public:
|
||||
|
||||
#if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS)
|
||||
#if defined(BOOST_NO_CXX11_DEFAULTED_FUNCTIONS) || BOOST_WORKAROUND(BOOST_GCC, < 40700)
|
||||
|
||||
virtual ~memory_resource() {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user