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