Work around g++ 4.6 failure

This commit is contained in:
Peter Dimov 2023-01-26 19:18:44 +02:00
parent 99515c341e
commit 8c65a5b0e8

View File

@ -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() {}