]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2218] Rearrange method in domaintree.h
authorMukund Sivaraman <muks@isc.org>
Mon, 24 Sep 2012 05:00:33 +0000 (10:30 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 24 Sep 2012 05:00:33 +0000 (10:30 +0530)
src/lib/datasrc/memory/domaintree.h

index 5d98d48cb0e248e25fb50337384b4db891e198f9..9087a95982ccb376f5ee2cbeaa6263607a9400f6 100644 (file)
@@ -391,6 +391,14 @@ public:
     /// This method never throws an exception.
     const DomainTreeNode<T>* getSubTreeRoot() const;
 
+    /// \brief returns the largest node of this node's subtree
+    ///
+    /// This method takes a node and returns the largest node in its
+    /// subtree.
+    ///
+    /// This method never throws an exception.
+    const DomainTreeNode<T>* getLargestInSubTree() const;
+
     /// \brief returns the parent of the root of its subtree
     ///
     /// This method takes a node and returns the parent of the root of
@@ -401,14 +409,6 @@ public:
     /// This method never throws an exception.
     const DomainTreeNode<T>* getUpperNode() const;
 
-    /// \brief returns the largest node of this node's subtree
-    ///
-    /// This method takes a node and returns the largest node in its
-    /// subtree.
-    ///
-    /// This method never throws an exception.
-    const DomainTreeNode<T>* getLargestInSubTree() const;
-
     /// \brief return the next node which is bigger than current node
     /// in the same subtree
     ///