Small fix in core/set.h and similar fix in core/map.h
This commit is contained in:
parent
0268a95828
commit
8da9fd5d23
2 changed files with 0 additions and 2 deletions
|
@ -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) {
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue