mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
Return true from details::circular_q::full() if capacity is 0
This commit is contained in:
parent
a8b74096b2
commit
55f84d458b
@ -116,7 +116,7 @@ public:
|
||||
{
|
||||
return ((tail_ + 1) % max_items_) == head_;
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
[[nodiscard]] size_t overrun_counter() const
|
||||
|
Loading…
Reference in New Issue
Block a user