Index: multi_index_container.hpp =================================================================== --- multi_index_container.hpp (revision 48688) +++ multi_index_container.hpp (working copy) @@ -267,11 +267,10 @@ } multi_index_container& operator=( - const multi_index_container& x) + multi_index_container x) { BOOST_MULTI_INDEX_CHECK_INVARIANT; - multi_index_container tmp(x); - this->swap(tmp); + this->swap(x); return *this; }