Browse Source

[trac643] Fix comments problem according jelte's review result.

zhanglikun 14 years ago
parent
commit
963acb3078
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/lib/nsas/lru_list.h

+ 3 - 3
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