2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[master] noteed RBTree::nodeFission should preserve the current node's name.

This will help at the phase of revisiting the design/implementation.
This commit is contained in:
JINMEI Tatuya
2012-03-23 14:02:13 -07:00
parent bbeaed010f
commit 4fbbae439b

View File

@@ -1162,6 +1162,10 @@ RBTree<T>::insert(const isc::dns::Name& target_name, RBNode<T>** new_node) {
}
// Note: when we redesign this (still keeping the basic concept), we should
// change this part so the newly created node will be used for the inserted
// name (and therefore the name for the existing node doesn't change).
// Otherwise, things like shortcut links between nodes won't work.
template <typename T>
void
RBTree<T>::nodeFission(RBNode<T>& node, const isc::dns::Name& base_name) {