forked from boostorg/intrusive
Fixed Boost Trac #12190
This commit is contained in:
@@ -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:
|
||||
|
@@ -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