mirror of
https://github.com/boostorg/unordered.git
synced 2025-05-11 21:44:01 +00:00
Remove extraneous copy constructor from flat set's type policy
This commit is contained in:
parent
53580a3070
commit
16c1593368
@ -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)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user