mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-09 23:14:04 +00:00
spared one equal allocator swap
This commit is contained in:
parent
81dbe86f25
commit
d7ad9185e8
@ -384,7 +384,7 @@ public:
|
||||
}
|
||||
else{
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user