Avoid using exception specifiers in C++11 compilers when replacing operator new.

This commit is contained in:
Ion Gaztañaga
2018-02-01 21:51:14 +01:00
parent f0736ba73a
commit 485878d566

View File

@@ -27,7 +27,7 @@ std::size_t allocation_count = 0;
#pragma warning (disable : 4290)
#endif
#if defined(BOOST_GCC) && (BOOST_GCC >= 40700) && (__cplusplus >= 201103L)
#if __cplusplus >= 201103L
#define BOOST_CONTAINER_NEW_EXCEPTION_SPECIFIER
#define BOOST_CONTAINER_DELETE_EXCEPTION_SPECIFIER noexcept
#else