From 485878d566c21d6029129769019ed96e0214b537 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Thu, 1 Feb 2018 21:51:14 +0100 Subject: [PATCH] Avoid using exception specifiers in C++11 compilers when replacing operator new. --- test/global_resource_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/global_resource_test.cpp b/test/global_resource_test.cpp index 860b463..c04816a 100644 --- a/test/global_resource_test.cpp +++ b/test/global_resource_test.cpp @@ -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