提交 88f55d06 编写于 作者: Y youngwolf

Clear redundant comments.

上级 651c131a
...@@ -137,7 +137,7 @@ public: ...@@ -137,7 +137,7 @@ public:
bool try_dequeue_(T& item) {if (this->empty()) return false; item.swap(this->front()); this->pop_front(); buff_size -= item.size(); return true;} bool try_dequeue_(T& item) {if (this->empty()) return false; item.swap(this->front()); this->pop_front(); buff_size -= item.size(); return true;}
void move_items_out_(Container& dest, size_t max_item_num = -1) //not thread safe void move_items_out_(Container& dest, size_t max_item_num = -1)
{ {
if ((size_t) -1 == max_item_num) if ((size_t) -1 == max_item_num)
{ {
...@@ -158,7 +158,7 @@ public: ...@@ -158,7 +158,7 @@ public:
} }
} }
void move_items_out_(size_t max_size_in_byte, Container& dest) //not thread safe void move_items_out_(size_t max_size_in_byte, Container& dest)
{ {
if ((size_t) -1 == max_size_in_byte) if ((size_t) -1 == max_size_in_byte)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册