mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
Fix #2820
This commit is contained in:
parent
76dfc7e7c0
commit
d8d23a6606
@ -82,7 +82,7 @@ public:
|
||||
}
|
||||
else
|
||||
{
|
||||
return max_items_ - (head_ - tail_);
|
||||
return max_items_ - 1 - (head_ - tail_);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user