Add missing extra parenthesis to BOOST_STATIC_ASSERT to avoid compilation errors in some compilers.

This commit is contained in:
Ion Gaztañaga
2015-10-18 21:33:26 +02:00
parent 73b3d75cf9
commit 3ca88495df

View File

@@ -254,7 +254,7 @@ struct node
void test_pointer_plus_bits()
{
BOOST_STATIC_ASSERT(boost::intrusive::max_pointer_plus_bits< offset_ptr<void>, boost::move_detail::alignment_of<node>::value >::value >= 1U);
BOOST_STATIC_ASSERT((boost::intrusive::max_pointer_plus_bits< offset_ptr<void>, boost::move_detail::alignment_of<node>::value >::value >= 1U));
typedef boost::intrusive::pointer_plus_bits< offset_ptr<node>, 1u > ptr_plus_bits;
node n, n2;