mirror of
https://github.com/boostorg/container.git
synced 2025-08-01 13:34:30 +02:00
Avoid using exception specifiers in C++11 compilers when replacing operator new.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user