Define BOOST_VERIFY in terms of BOOST_ASSERT_IS_VOID. Fixes #47.

This commit is contained in:
Peter Dimov
2026-06-27 16:04:24 +03:00
parent 5fc2ce767d
commit fc2a476cc7
+1 -1
View File
@@ -85,7 +85,7 @@ namespace boost
#undef BOOST_VERIFY
#undef BOOST_VERIFY_MSG
#if defined(BOOST_DISABLE_ASSERTS) || ( !defined(BOOST_ENABLE_ASSERT_HANDLER) && defined(NDEBUG) )
#if defined(BOOST_ASSERT_IS_VOID)
# define BOOST_VERIFY(expr) ((void)(expr))
# define BOOST_VERIFY_MSG(expr, msg) ((void)(expr))