Use getInTree in insert
This commit is contained in:
1 parent
87d650ff00
commit
1dcb380c73
1 file changed
+1
-3
+1
-3
@@ -1732,9 +1732,7 @@ void addWriteRange(Node *&root, int64_t oldestVersion,
|
||||
n = child;
|
||||
}
|
||||
|
||||
Node **useAsRoot = n->parent == nullptr
|
||||
? &root
|
||||
: &getChildExists(n->parent, n->parentsIndex);
|
||||
Node **useAsRoot = &getInTree(n, impl);
|
||||
|
||||
int consumed = lcp - remaining.size();
|
||||
|
||||
|
||||
Reference in new issue
Block a user