Commit b71aa484 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

a minor wording fix


git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac397focused@3873 e5f2f494-b856-4b98-b285-d166d9295462
parent 4b5490d4
......@@ -503,7 +503,7 @@ RBTree<T>::insert(const isc::dns::Name& target_name, RBNode<T>** new_node) {
&(up_node->down_) : &root_;
// 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
// 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));
node->parent_ = parent;
if (parent == NULLNODE) {
......
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