This commit is contained in:
Gabi Melman 2023-07-21 00:37:03 +03:00 committed by GitHub
parent 76dfc7e7c0
commit d8d23a6606
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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