From 0f6df25eb0f1f383ef3061bdf72007fd5014f759 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Mon, 18 Dec 2023 16:05:32 +0000 Subject: [PATCH] Try using `BOOST_ASSERT` instead of `assert` in Boost.Outcome, see what happens. --- boostify/include/boost/outcome/config.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boostify/include/boost/outcome/config.hpp b/boostify/include/boost/outcome/config.hpp index 7673714fb9..dabb2d32c4 100644 --- a/boostify/include/boost/outcome/config.hpp +++ b/boostify/include/boost/outcome/config.hpp @@ -201,8 +201,8 @@ BOOST_OUTCOME_V2_NAMESPACE_END #endif #ifndef BOOST_OUTCOME_ASSERT -#include -#define BOOST_OUTCOME_ASSERT(...) assert(__VA_ARGS__) +#include +#define BOOST_OUTCOME_ASSERT(...) BOOST_ASSERT(__VA_ARGS__) #endif #ifndef BOOST_OUTCOME_TRIVIAL_ABI