Apply patch from 8644.

Fixes #8644.

[SVN r84713]
This commit is contained in:
John Maddock
2013-06-09 12:02:07 +00:00
parent 41521344af
commit bc29f7ab62

View File

@ -183,6 +183,7 @@ template<int x> struct static_assert_test{};
enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \
= sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( __VA_ARGS__ ) >) }
# else
# define BOOST_STATIC_ASSERT(B) \
enum { BOOST_JOIN(boost_static_assert_enum_, __LINE__) \
= sizeof(::boost::STATIC_ASSERTION_FAILURE< (bool)( B ) >) }
# endif