Skip to content

Commit

Permalink
Retain BOOST_SP_NOEXCEPT for compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
pdimov committed Oct 3, 2024
1 parent ab13ffa commit 890b661
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions include/boost/smart_ptr/detail/sp_noexcept.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@
// See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt

#include <boost/config.hpp>

// BOOST_SP_NOEXCEPT
// BOOST_SP_NOEXCEPT (obsolete, only retained for compatibility)

// #define BOOST_SP_NOEXCEPT noexcept
#define BOOST_SP_NOEXCEPT noexcept

// BOOST_SP_NOEXCEPT_WITH_ASSERT
// BOOST_SP_NOEXCEPT_WITH_ASSERT (noexcept, unless a user assertion handler is present)

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

Expand Down

0 comments on commit 890b661

Please sign in to comment.