forked from boostorg/intrusive
Fixed Boost Trac #12190
This commit is contained in:
1 parent
4cf38987a8
commit
cd14ffcf1f
2 files changed
+8
-2
No files matched your search
@@ -343,8 +343,7 @@ class slist_impl
|
||||
slist_impl(BOOST_RV_REF(slist_impl) x)
|
||||
: data_(::boost::move(x.priv_value_traits()))
|
||||
{
|
||||
this->priv_size_traits().set_size(size_type(0));
|
||||
node_algorithms::init_header(this->get_root_node());
|
||||
this->set_default_constructed_state();
|
||||
//nothrow, no need to rollback to release elements on exception
|
||||
this->swap(x);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user