Fix error

This commit is contained in:
Alexey Milovidov 2023-11-22 22:09:24 +01:00
parent 132c2e7a46
commit 96410cee6a

View File

@ -123,7 +123,7 @@ private:
if (head.empty())
{
size_after_grow = initial_size;
size_after_grow = std::max(min_next_size, initial_size);
}
else if (head.size() < linear_growth_threshold)
{