mirror of
https://github.com/boostorg/interprocess.git
synced 2026-01-19 04:12:13 +00:00
Add missing extra parenthesis to BOOST_STATIC_ASSERT to avoid compilation errors in some compilers.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user