Ticket #7028: 7028.patch

File 7028.patch, 626 bytes (added by viboes, 10 years ago)

Is this patch enough?

  • boost/assert.hpp

     
    2828
    2929#undef BOOST_ASSERT
    3030
    31 #if defined(BOOST_DISABLE_ASSERTS)
     31#if defined(BOOST_DISABLE_ASSERTS) || defined(NDEBUG)
    3232
    3333# define BOOST_ASSERT(expr) ((void)0)
    3434
     
    8989    #endif
    9090
    9191    namespace boost
    92     { 
    93       namespace assertion 
    94       { 
     92    {
     93      namespace assertion
     94      {
    9595        namespace detail
    9696        {
    9797          inline void assertion_failed_msg(char const * expr, char const * msg, char const * function,