forked from boostorg/intrusive
Reverted wrong commit SHA-1: 62367b52e1
and removed include to recently deleted "detail/clear_on_destructor_base.hpp" file.
This commit is contained in:
@@ -526,6 +526,7 @@ struct bstbase
|
|||||||
( this->header_ptr()
|
( this->header_ptr()
|
||||||
, detail::node_disposer<detail::null_disposer, value_traits, AlgoType>
|
, detail::node_disposer<detail::null_disposer, value_traits, AlgoType>
|
||||||
(detail::null_disposer(), &this->get_value_traits()));
|
(detail::null_disposer(), &this->get_value_traits()));
|
||||||
|
node_algorithms::init(this->header_ptr());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@@ -29,7 +29,6 @@
|
|||||||
#include <boost/intrusive/detail/transform_iterator.hpp>
|
#include <boost/intrusive/detail/transform_iterator.hpp>
|
||||||
#include <boost/intrusive/link_mode.hpp>
|
#include <boost/intrusive/link_mode.hpp>
|
||||||
#include <boost/intrusive/detail/ebo_functor_holder.hpp>
|
#include <boost/intrusive/detail/ebo_functor_holder.hpp>
|
||||||
#include <boost/intrusive/detail/clear_on_destructor_base.hpp>
|
|
||||||
#include <boost/intrusive/detail/utilities.hpp>
|
#include <boost/intrusive/detail/utilities.hpp>
|
||||||
//Implementation utilities
|
//Implementation utilities
|
||||||
#include <boost/intrusive/unordered_set_hook.hpp>
|
#include <boost/intrusive/unordered_set_hook.hpp>
|
||||||
|
@@ -205,6 +205,7 @@ class list_impl
|
|||||||
{
|
{
|
||||||
if(is_safe_autounlink<ValueTraits::link_mode>::value){
|
if(is_safe_autounlink<ValueTraits::link_mode>::value){
|
||||||
this->clear();
|
this->clear();
|
||||||
|
node_algorithms::init(this->get_root_node());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -339,6 +339,7 @@ class slist_impl
|
|||||||
{
|
{
|
||||||
if(is_safe_autounlink<ValueTraits::link_mode>::value){
|
if(is_safe_autounlink<ValueTraits::link_mode>::value){
|
||||||
this->clear();
|
this->clear();
|
||||||
|
node_algorithms::init(this->get_root_node());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user