mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-11 13:24:04 +00:00
parent
6b5f74732b
commit
05e70771fd
@ -267,11 +267,10 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
multi_index_container<Value,IndexSpecifierList,Allocator>& operator=(
|
multi_index_container<Value,IndexSpecifierList,Allocator>& operator=(
|
||||||
const multi_index_container<Value,IndexSpecifierList,Allocator>& x)
|
multi_index_container<Value,IndexSpecifierList,Allocator> x)
|
||||||
{
|
{
|
||||||
BOOST_MULTI_INDEX_CHECK_INVARIANT;
|
BOOST_MULTI_INDEX_CHECK_INVARIANT;
|
||||||
multi_index_container<Value,IndexSpecifierList,Allocator> tmp(x);
|
this->swap(x);
|
||||||
this->swap(tmp);
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user