Commit 07f62405 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2811] Explicitly break out of loop after rebalancing tree

parent ccdb49aa
......@@ -2082,6 +2082,12 @@ DomainTree<T>::insertRebalance
} else {
leftRotate(subtree_root, grandparent);
// In this case, the tree is ready now and we explicitly
// break out of the loop here. Even if we continue the loop,
// it will exit the loop in case 2 above, but that's not so
// obvious.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment