|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r74542 - trunk/boost/unordered/detail
From: dnljms_at_[hidden]
Date: 2011-09-23 16:27:40
Author: danieljames
Date: 2011-09-23 16:27:39 EDT (Fri, 23 Sep 2011)
New Revision: 74542
URL: http://svn.boost.org/trac/boost/changeset/74542
Log:
Unordered: Remove void cast.
I don't think it's needed.
Text files modified:
trunk/boost/unordered/detail/allocator_helpers.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/unordered/detail/allocator_helpers.hpp
==============================================================================
--- trunk/boost/unordered/detail/allocator_helpers.hpp (original)
+++ trunk/boost/unordered/detail/allocator_helpers.hpp 2011-09-23 16:27:39 EDT (Fri, 23 Sep 2011)
@@ -410,7 +410,7 @@
static void construct(Alloc&, T* p, T const& x, typename
boost::disable_if<has_construct<Alloc, T>, void*>::type = 0)
{
- new ((void*) p) T(x);
+ new (p) T(x);
}
template <typename T>
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk