mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
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
|
||||
boost::disable_if<has_construct<Alloc, T>, void*>::type = 0)
|
||||
{
|
||||
new ((void*) p) T(x);
|
||||
new (p) T(x);
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
|
Reference in New Issue
Block a user