mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-11 05:14:05 +00:00
spared one equal allocator swap
This commit is contained in:
parent
81dbe86f25
commit
d7ad9185e8
@ -384,7 +384,7 @@ public:
|
|||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
multi_index_container y(boost::move(x),this->get_allocator());
|
multi_index_container y(boost::move(x),this->get_allocator());
|
||||||
swap_(y,boost::true_type() /* swap_allocators */);
|
swap_(y,boost::false_type() /* swap_allocators */);
|
||||||
}
|
}
|
||||||
return *this;
|
return *this;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user