mirror of
https://github.com/boostorg/unordered.git
synced 2025-07-29 19:07:15 +02:00
Remove erroneous unconditional call to reserve() from move_assign() when pocma is false
This commit is contained in:
@ -2374,10 +2374,6 @@ namespace boost {
|
||||
template <typename UniqueType>
|
||||
void move_assign(table& x, UniqueType is_unique, false_type)
|
||||
{
|
||||
if (x.size_ > 0) {
|
||||
reserve(x.size_);
|
||||
}
|
||||
|
||||
if (node_alloc() == x.node_alloc()) {
|
||||
move_assign_equal_alloc(x);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user