spared one equal allocator swap

This commit is contained in:
joaquintides 2020-01-27 12:14:03 +01:00
parent 81dbe86f25
commit d7ad9185e8

View File

@ -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;