BIND 10 trac643, updated. 963acb307871f945870c61699cffee72de1c7b65 [trac643] Fix comments problem according jelte's review result.
BIND 10 source code commits
bind10-changes at lists.isc.org
Tue Mar 15 11:45:01 UTC 2011
The branch, trac643 has been updated
via 963acb307871f945870c61699cffee72de1c7b65 (commit)
via 3692ad59eab42084765ef68acea3eb24a9e327b1 (commit)
via 050c451f53da820f9b5ef47dcc469261a595d014 (commit)
from dd4e05070a8868a7f42eab9096f0b4d506bbc027 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 963acb307871f945870c61699cffee72de1c7b65
Author: zhanglikun <zhanglikun at cnnic.cn>
Date: Tue Mar 15 19:42:52 2011 +0800
[trac643] Fix comments problem according jelte's review result.
commit 3692ad59eab42084765ef68acea3eb24a9e327b1
Merge: 050c451f53da820f9b5ef47dcc469261a595d014 dd4e05070a8868a7f42eab9096f0b4d506bbc027
Author: zhanglikun <zhanglikun at cnnic.cn>
Date: Tue Mar 15 19:40:30 2011 +0800
Merge branch 'trac643' of ssh://bind10.isc.org/var/bind10/git/bind10 into trac643
commit 050c451f53da820f9b5ef47dcc469261a595d014
Author: zhanglikun <zhanglikun at cnnic.cn>
Date: Fri Mar 11 19:45:55 2011 +0800
[trac643] Add clear() function to lru list, which is used to clear all the elements of list.
-----------------------------------------------------------------------
Summary of changes:
src/lib/nsas/lru_list.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/nsas/lru_list.h b/src/lib/nsas/lru_list.h
index 88654cb..1a20dbf 100644
--- a/src/lib/nsas/lru_list.h
+++ b/src/lib/nsas/lru_list.h
@@ -112,8 +112,8 @@ public:
/// \brief Drop All the Elements in the List .
///
/// All the elements will be dropped from the list container, and their
- /// drop handler(if there is one) will be called, left the size of list
- /// to 0.
+ /// drop handler(if there is one) will be called, when done, the size of
+ /// of list will be 0.
virtual void clear();
/// \brief Return Size of the List
@@ -235,7 +235,7 @@ void LruList<T>::touch(boost::shared_ptr<T>& element) {
}
}
-// Clear the list- left the size of list to 0
+// Clear the list- when done, the size of list will be 0.
template <typename T>
void LruList<T>::clear() {
// Protect list against concurrent access
More information about the bind10-changes
mailing list