forked from boostorg/assert
committed by
Peter Dimov
parent
50e523b1bc
commit
8105f2e314
@@ -28,7 +28,7 @@
|
|||||||
|
|
||||||
#undef BOOST_ASSERT
|
#undef BOOST_ASSERT
|
||||||
|
|
||||||
#if defined(BOOST_DISABLE_ASSERTS)
|
#if defined(BOOST_DISABLE_ASSERTS) || defined(NDEBUG)
|
||||||
|
|
||||||
# define BOOST_ASSERT(expr) ((void)0)
|
# define BOOST_ASSERT(expr) ((void)0)
|
||||||
|
|
||||||
@@ -89,9 +89,9 @@ namespace boost
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
namespace boost
|
namespace boost
|
||||||
{
|
{
|
||||||
namespace assertion
|
namespace assertion
|
||||||
{
|
{
|
||||||
namespace detail
|
namespace detail
|
||||||
{
|
{
|
||||||
inline void assertion_failed_msg(char const * expr, char const * msg, char const * function,
|
inline void assertion_failed_msg(char const * expr, char const * msg, char const * function,
|
||||||
|
Reference in New Issue
Block a user