Ticket #8346: static_assert.hpp.patch

File static_assert.hpp.patch, 566 bytes (added by Vladimir Merzliakov <wanderer@…>, 10 years ago)

Fix copy paste typo in BOOST_STATIC_ASSERT_MSG

  • boost/static_assert.hpp

     
    3030#  ifndef BOOST_NO_CXX11_VARIADIC_MACROS
    3131#     define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)
    3232#  else
    33 #     define BOOST_STATIC_ASSERT_MSG( ... ) static_assert(__VA_ARGS__)
     33#     define BOOST_STATIC_ASSERT_MSG( B, Msg ) static_assert(B, Msg)
    3434#  endif
    3535#else
    3636#     define BOOST_STATIC_ASSERT_MSG( B, Msg ) BOOST_STATIC_ASSERT( B )