Fixed Boost Trac #12190

This commit is contained in:
Ion Gaztañaga
2016-05-13 01:01:42 +02:00
parent 4cf38987a8
commit cd14ffcf1f
2 changed files with 8 additions and 2 deletions

View File

@@ -3835,6 +3835,13 @@ to be inserted in intrusive containers are allocated using `std::vector` or `std
[section:release_notes Release Notes]
[section:release_notes_boost_1_62_00 Boost 1.62 Release]
* Fixed bugs:
* [@https://svn.boost.org/trac/boost/ticket/12190 Boost Trac #12190: ['Intrusive List + Flat Map combination crashes]]
[endsect]
[section:release_notes_boost_1_61_00 Boost 1.61 Release]
* Fixed bugs:

View File

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