mirror of
https://github.com/boostorg/intrusive.git
synced 2025-08-02 05:54:38 +02:00
restore header hooks to unused state
This commit is contained in:
@@ -526,6 +526,7 @@ struct bstbase
|
||||
( this->header_ptr()
|
||||
, detail::node_disposer<detail::null_disposer, value_traits, AlgoType>
|
||||
(detail::null_disposer(), &this->get_value_traits()));
|
||||
node_algorithms::init(this->header_ptr());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@@ -205,6 +205,7 @@ class list_impl
|
||||
{
|
||||
if(is_safe_autounlink<ValueTraits::link_mode>::value){
|
||||
this->clear();
|
||||
node_algorithms::init(this->get_root_node());
|
||||
}
|
||||
}
|
||||
|
||||
|
@@ -339,6 +339,7 @@ class slist_impl
|
||||
{
|
||||
if(is_safe_autounlink<ValueTraits::link_mode>::value){
|
||||
this->clear();
|
||||
node_algorithms::init(this->get_root_node());
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user