Avoid un necessary move when popping circular_q
This commit is contained in:
@@ -20,7 +20,7 @@ class circular_q
|
|||||||
public:
|
public:
|
||||||
using item_type = T;
|
using item_type = T;
|
||||||
|
|
||||||
// empty cir
|
// empty ctor - create a disabled queue with no elements allocated at all
|
||||||
circular_q() = default;
|
circular_q() = default;
|
||||||
|
|
||||||
explicit circular_q(size_t max_items)
|
explicit circular_q(size_t max_items)
|
||||||
|
|||||||
Reference in New Issue
Block a user