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