forked from boostorg/assert
Fixed wrong patch for the test
This commit is contained in:
1 parent
9f21dfea1b
commit
1b7207ac44
1 file changed
+2
-2
@@ -17,7 +17,7 @@
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
#ifdef BOOST_ASSERT_IS_VOID
|
||||
#error "Error: BOOST_ASSERT should be void in NDEBUG"
|
||||
#error "BOOST_ASSERT should NOT be void if NDEBUG is not defined"
|
||||
#endif
|
||||
|
||||
// default case, NDEBUG
|
||||
@@ -27,7 +27,7 @@
|
||||
#include <boost/assert.hpp>
|
||||
|
||||
#ifndef BOOST_ASSERT_IS_VOID
|
||||
#error "BOOST_ASSERT should NOT be void if NDEBUG is not defined"
|
||||
#error "Error: BOOST_ASSERT should be void in NDEBUG"
|
||||
#endif
|
||||
|
||||
// BOOST_DISABLE_ASSERTS, !NDEBUG
|
||||
|
||||
Reference in new issue
Block a user