Skip to content

Commit 890b661

Browse files
committed
Retain BOOST_SP_NOEXCEPT for compatibility
1 parent ab13ffa commit 890b661

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

include/boost/smart_ptr/detail/sp_noexcept.hpp

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,12 @@
1515
// See accompanying file LICENSE_1_0.txt or copy at
1616
// http://www.boost.org/LICENSE_1_0.txt
1717

18-
#include <boost/config.hpp>
1918

20-
// BOOST_SP_NOEXCEPT
19+
// BOOST_SP_NOEXCEPT (obsolete, only retained for compatibility)
2120

22-
// #define BOOST_SP_NOEXCEPT noexcept
21+
#define BOOST_SP_NOEXCEPT noexcept
2322

24-
// BOOST_SP_NOEXCEPT_WITH_ASSERT
23+
// BOOST_SP_NOEXCEPT_WITH_ASSERT (noexcept, unless a user assertion handler is present)
2524

2625
#if defined(BOOST_DISABLE_ASSERTS) || ( defined(BOOST_ENABLE_ASSERT_DEBUG_HANDLER) && defined(NDEBUG) )
2726

0 commit comments

Comments
 (0)