diff --git a/include/boost/unordered/detail/allocator_helpers.hpp b/include/boost/unordered/detail/allocator_helpers.hpp index 6982140f..e0f089c7 100644 --- a/include/boost/unordered/detail/allocator_helpers.hpp +++ b/include/boost/unordered/detail/allocator_helpers.hpp @@ -410,7 +410,7 @@ namespace boost { namespace unordered { namespace detail { static void construct(Alloc&, T* p, T const& x, typename boost::disable_if, void*>::type = 0) { - new ((void*) p) T(x); + new (p) T(x); } template