mirror of
https://github.com/boostorg/smart_ptr.git
synced 2025-07-31 05:07:21 +02:00
Remove definition of BOOST_SP_NOEXCEPT to ensure no uses remain
This commit is contained in:
@ -19,21 +19,13 @@
|
|||||||
|
|
||||||
// BOOST_SP_NOEXCEPT
|
// BOOST_SP_NOEXCEPT
|
||||||
|
|
||||||
#if defined( BOOST_MSVC ) && BOOST_MSVC >= 1700 && BOOST_MSVC < 1900
|
// #define BOOST_SP_NOEXCEPT noexcept
|
||||||
|
|
||||||
# define BOOST_SP_NOEXCEPT BOOST_NOEXCEPT_OR_NOTHROW
|
|
||||||
|
|
||||||
#else
|
|
||||||
|
|
||||||
# define BOOST_SP_NOEXCEPT BOOST_NOEXCEPT
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// BOOST_SP_NOEXCEPT_WITH_ASSERT
|
// BOOST_SP_NOEXCEPT_WITH_ASSERT
|
||||||
|
|
||||||
#if defined(BOOST_DISABLE_ASSERTS) || ( defined(BOOST_ENABLE_ASSERT_DEBUG_HANDLER) && defined(NDEBUG) )
|
#if defined(BOOST_DISABLE_ASSERTS) || ( defined(BOOST_ENABLE_ASSERT_DEBUG_HANDLER) && defined(NDEBUG) )
|
||||||
|
|
||||||
# define BOOST_SP_NOEXCEPT_WITH_ASSERT BOOST_SP_NOEXCEPT
|
# define BOOST_SP_NOEXCEPT_WITH_ASSERT noexcept
|
||||||
|
|
||||||
#elif defined(BOOST_ENABLE_ASSERT_HANDLER) || ( defined(BOOST_ENABLE_ASSERT_DEBUG_HANDLER) && !defined(NDEBUG) )
|
#elif defined(BOOST_ENABLE_ASSERT_HANDLER) || ( defined(BOOST_ENABLE_ASSERT_DEBUG_HANDLER) && !defined(NDEBUG) )
|
||||||
|
|
||||||
@ -41,7 +33,7 @@
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
# define BOOST_SP_NOEXCEPT_WITH_ASSERT BOOST_SP_NOEXCEPT
|
# define BOOST_SP_NOEXCEPT_WITH_ASSERT noexcept
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user