Parcourir la source

a minor wording fix

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac397focused@3873 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya il y a 14 ans
Parent
commit
b71aa484f6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/datasrc/rbtree.h

+ 1 - 1
src/lib/datasrc/rbtree.h

@@ -503,7 +503,7 @@ RBTree<T>::insert(const isc::dns::Name& target_name, RBNode<T>** new_node) {
         &(up_node->down_) : &root_;
         &(up_node->down_) : &root_;
     // using auto_ptr here is avoid memory leak in case of exceptoin raised 
     // using auto_ptr here is avoid memory leak in case of exceptoin raised 
     // after the RBNode creation, if we can make sure no exception will be 
     // after the RBNode creation, if we can make sure no exception will be 
-    // raised until the end of the function, we use remove it for optimization
+    // raised until the end of the function, we can remove it for optimization
     std::auto_ptr<RBNode<T> > node(new RBNode<T>(name));
     std::auto_ptr<RBNode<T> > node(new RBNode<T>(name));
     node->parent_ = parent;
     node->parent_ = parent;
     if (parent == NULLNODE) {
     if (parent == NULLNODE) {