Fix unused index warning

This commit is contained in:
Ion Gaztañaga
2024-01-14 00:17:54 +01:00
parent ca67d5b2f6
commit ea5b744e13

View File

@@ -872,7 +872,7 @@ bool test_many_deallocation(Allocator &a)
typename Allocator::size_type free_memory = a.get_free_memory();
{
for(std::size_t i = 0; true; ++i){
while(true){
multiallocation_chain chain;
a.allocate_many(std::nothrow, requested_sizes, ArraySize, 1, chain);
if(chain.empty())