mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-30 19:37:14 +02:00
Remove extraneous copy constructor from flat set's type policy
This commit is contained in:
@ -45,12 +45,6 @@ namespace boost {
|
|||||||
|
|
||||||
static element_type&& move(element_type& x) { return std::move(x); }
|
static element_type&& move(element_type& x) { return std::move(x); }
|
||||||
|
|
||||||
template <class A>
|
|
||||||
static void construct(A& al, element_type* p, element_type const& copy)
|
|
||||||
{
|
|
||||||
boost::allocator_construct(al, p, copy);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <class A, class... Args>
|
template <class A, class... Args>
|
||||||
static void construct(A& al, element_type* p, Args&&... args)
|
static void construct(A& al, element_type* p, Args&&... args)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user