mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-26 10:31:34 +08:00
Avoid un necessary move when popping circular_q
This commit is contained in:
parent
590749e8be
commit
4fffd3a111
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user