Avoid un necessary move when popping circular_q

This commit is contained in:
gabime 2019-09-17 12:03:54 +03:00
parent 27cc76766c
commit 590749e8be
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ public:
{ {
return ((tail_ + 1) % max_items_) == head_; return ((tail_ + 1) % max_items_) == head_;
} }
return true; return false;
} }
size_t overrun_counter() const size_t overrun_counter() const