diff --git a/include/boost/interprocess/segment_manager.hpp b/include/boost/interprocess/segment_manager.hpp index c14ca89..0eb6265 100644 --- a/include/boost/interprocess/segment_manager.hpp +++ b/include/boost/interprocess/segment_manager.hpp @@ -425,12 +425,7 @@ class segment_manager (void)this_addr; (void)segm_addr; BOOST_ASSERT( this_addr == segm_addr); const std::size_t void_ptr_alignment = boost::move_detail::alignment_of::value; (void)void_ptr_alignment; - BOOST_ASSERT((0 == (std::size_t)this_addr % void_ptr_alignment)); - BOOST_ASSERT((0 == (std::size_t)segm_addr % void_ptr_alignment)); - BOOST_ASSERT((0 == (std::size_t)&m_header % void_ptr_alignment)); - BOOST_STATIC_ASSERT((boost::move_detail::alignment_of::value >= void_ptr_alignment)); - BOOST_STATIC_ASSERT((boost::move_detail::alignment_of::value >= void_ptr_alignment)); - BOOST_STATIC_ASSERT((boost::move_detail::alignment_of::value >= void_ptr_alignment)); + BOOST_ASSERT((0 == (std::size_t)this_addr % boost::move_detail::alignment_of::value)); } //!Tries to find a previous named/unique allocation. Returns the address