Commit 963acb30 authored by zhanglikun's avatar zhanglikun
Browse files

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

parent 3692ad59
...@@ -112,8 +112,8 @@ public: ...@@ -112,8 +112,8 @@ public:
/// \brief Drop All the Elements in the List . /// \brief Drop All the Elements in the List .
/// ///
/// All the elements will be dropped from the list container, and their /// 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 /// drop handler(if there is one) will be called, when done, the size of
/// to 0. /// of list will be 0.
virtual void clear(); virtual void clear();
/// \brief Return Size of the List /// \brief Return Size of the List
...@@ -235,7 +235,7 @@ void LruList<T>::touch(boost::shared_ptr<T>& element) { ...@@ -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> template <typename T>
void LruList<T>::clear() { void LruList<T>::clear() {
// Protect list against concurrent access // Protect list against concurrent access
......
Markdown is supported
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