diff --git a/test/offset_ptr_test.cpp b/test/offset_ptr_test.cpp index 5ae4f78..bece39b 100644 --- a/test/offset_ptr_test.cpp +++ b/test/offset_ptr_test.cpp @@ -254,7 +254,7 @@ struct node void test_pointer_plus_bits() { - BOOST_STATIC_ASSERT(boost::intrusive::max_pointer_plus_bits< offset_ptr, boost::move_detail::alignment_of::value >::value >= 1U); + BOOST_STATIC_ASSERT((boost::intrusive::max_pointer_plus_bits< offset_ptr, boost::move_detail::alignment_of::value >::value >= 1U)); typedef boost::intrusive::pointer_plus_bits< offset_ptr, 1u > ptr_plus_bits; node n, n2;