Unordered: Remove void cast.

I don't think it's needed.

[SVN r74542]
This commit is contained in:
Daniel James
2011-09-23 20:27:39 +00:00
parent b0620a46ff
commit b1d782285c

View File

@ -410,7 +410,7 @@ namespace boost { namespace unordered { namespace detail {
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>