From 88f55d06714bf59ca5bb7d11e1e08c91caa6a30a Mon Sep 17 00:00:00 2001 From: youngwolf Date: Wed, 13 Feb 2019 23:27:20 +0800 Subject: [PATCH] Clear redundant comments. --- include/ascs/container.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ascs/container.h b/include/ascs/container.h index 6230795..fb6000f 100644 --- a/include/ascs/container.h +++ b/include/ascs/container.h @@ -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;} - 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) { @@ -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) { -- GitLab