From b1d782285c06a846f5d0d347b3ffa6f3ce25683f Mon Sep 17 00:00:00 2001 From: Daniel James Date: Fri, 23 Sep 2011 20:27:39 +0000 Subject: [PATCH] Unordered: Remove void cast. I don't think it's needed. [SVN r74542] --- include/boost/unordered/detail/allocator_helpers.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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