forked from boostorg/unordered
Unordered: Remove void cast.
I don't think it's needed. [SVN r74542]
This commit is contained in:
@ -410,7 +410,7 @@ namespace boost { namespace unordered { namespace detail {
|
|||||||
static void construct(Alloc&, T* p, T const& x, typename
|
static void construct(Alloc&, T* p, T const& x, typename
|
||||||
boost::disable_if<has_construct<Alloc, T>, void*>::type = 0)
|
boost::disable_if<has_construct<Alloc, T>, void*>::type = 0)
|
||||||
{
|
{
|
||||||
new ((void*) p) T(x);
|
new (p) T(x);
|
||||||
}
|
}
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
|
Reference in New Issue
Block a user