mirror of
https://github.com/boostorg/assert.git
synced 2026-07-21 13:13:34 +00:00
Define BOOST_VERIFY in terms of BOOST_ASSERT_IS_VOID. Fixes #47.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user