Browse Source

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

Cradmon 7 years ago
parent
commit
8da9fd5d23
2 changed files with 0 additions and 2 deletions
  1. 0 1
      core/map.h
  2. 0 1
      core/set.h

+ 0 - 1
core/map.h

@@ -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) {

+ 0 - 1
core/set.h

@@ -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) {