Skip to content

Commit

Permalink
Try using BOOST_ASSERT instead of assert in Boost.Outcome, see
Browse files Browse the repository at this point in the history
what happens.
  • Loading branch information
ned14 committed Dec 18, 2023
1 parent 7289e16 commit 0f6df25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boostify/include/boost/outcome/config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,8 @@ BOOST_OUTCOME_V2_NAMESPACE_END
#endif

#ifndef BOOST_OUTCOME_ASSERT
#include <cassert>
#define BOOST_OUTCOME_ASSERT(...) assert(__VA_ARGS__)
#include <boost/assert.hpp>
#define BOOST_OUTCOME_ASSERT(...) BOOST_ASSERT(__VA_ARGS__)
#endif

#ifndef BOOST_OUTCOME_TRIVIAL_ABI
Expand Down

0 comments on commit 0f6df25

Please sign in to comment.