This commit is contained in:
Gabi Melman
2023-07-21 00:37:03 +03:00
committed by GitHub
parent 76dfc7e7c0
commit d8d23a6606

View File

@@ -82,7 +82,7 @@ public:
} }
else else
{ {
return max_items_ - (head_ - tail_); return max_items_ - 1 - (head_ - tail_);
} }
} }