Small fix in core/set.h and similar fix in core/map.h

This commit is contained in:
Cradmon 2017-10-24 15:59:54 +01:00
parent 0268a95828
commit 8da9fd5d23
2 changed files with 0 additions and 2 deletions

View file

@ -438,7 +438,6 @@ private:
Element *rp = ((p_node->left == _data._nil) || (p_node->right == _data._nil)) ? p_node : p_node->_next;
Element *node = (rp->left == _data._nil) ? rp->right : rp->left;
node->parent = rp->parent;
Element *sibling;
if (rp == rp->parent->left) {

View file

@ -424,7 +424,6 @@ private:
Element *rp = ((p_node->left == _data._nil) || (p_node->right == _data._nil)) ? p_node : p_node->_next;
Element *node = (rp->left == _data._nil) ? rp->right : rp->left;
node->parent = rp->parent;
Element *sibling;
if (rp == rp->parent->left) {