Commit 590749e8 authored by gabime's avatar gabime

Avoid un necessary move when popping circular_q

parent 27cc7676
...@@ -86,7 +86,7 @@ public: ...@@ -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
......
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