From 3ca88495df549fe6aa69e1714468fce37992b51a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sun, 18 Oct 2015 21:33:26 +0200 Subject: [PATCH] Add missing extra parenthesis to BOOST_STATIC_ASSERT to avoid compilation errors in some compilers. --- test/offset_ptr_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;