Skip to content

Commit

Permalink
Undef assert macro and remove guards
Browse files Browse the repository at this point in the history
  • Loading branch information
glenfe committed Jan 18, 2025
1 parent 24a8174 commit cb603c9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/boost/core/detail/assert.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ Copyright 2025 Glen Joseph Fernandes
Distributed under the Boost Software License, Version 1.0.
(http://www.boost.org/LICENSE_1_0.txt)
*/
#ifndef BOOST_CORE_DETAIL_ASSERT_HPP
#define BOOST_CORE_DETAIL_ASSERT_HPP
#undef BOOST_CORE_ASSERT

#include <cassert>

Expand All @@ -20,5 +19,3 @@ Distributed under the Boost Software License, Version 1.0.
#else
#define BOOST_CORE_ASSERT(expr) assert(expr)
#endif

#endif

0 comments on commit cb603c9

Please sign in to comment.