diff --git a/include/boost/interprocess/detail/managed_memory_impl.hpp b/include/boost/interprocess/detail/managed_memory_impl.hpp index 939dc6a..25c6814 100644 --- a/include/boost/interprocess/detail/managed_memory_impl.hpp +++ b/include/boost/interprocess/detail/managed_memory_impl.hpp @@ -177,6 +177,7 @@ class basic_managed_memory_impl //throw if constructor allocates memory. So we must catch it. BOOST_TRY{ //Let's construct the allocator in memory + BOOST_ASSERT((0 == (std::size_t)addr % boost::move_detail::alignment_of::value)); mp_header = ::new(addr, boost_container_new_t()) segment_manager(size); } BOOST_CATCH(...){