Split detail/utilities.hpp into 11 headers to minimize physical coupling and header dependencies

This commit is contained in:
Ion Gaztañaga
2014-10-13 21:46:47 +02:00
parent 7e4b7286ca
commit a2f5d31ad3
56 changed files with 1298 additions and 1091 deletions

View File

@@ -423,7 +423,7 @@ class rbtree_algorithms
const node_ptr x_parent_left(NodeTraits::get_left(x_parent));
if(x == x_parent_left){ //x is left child
node_ptr w = NodeTraits::get_right(x_parent);
BOOST_ASSERT(w);
BOOST_INTRUSIVE_INVARIANT_ASSERT(w);
if(NodeTraits::get_color(w) == NodeTraits::red()){
NodeTraits::set_color(w, NodeTraits::black());
NodeTraits::set_color(x_parent, NodeTraits::red());