Avoid un necessary move when popping circular_q

This commit is contained in:
gabime 2019-09-17 12:05:23 +03:00
parent 590749e8be
commit 4fffd3a111
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ class circular_q
public:
using item_type = T;
// empty cir
// empty ctor - create a disabled queue with no elements allocated at all
circular_q() = default;
explicit circular_q(size_t max_items)