From ea5b744e1348693216b21bbb28131eba78327153 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Sun, 14 Jan 2024 00:17:54 +0100 Subject: [PATCH] Fix unused index warning --- test/memory_algorithm_test_template.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/memory_algorithm_test_template.hpp b/test/memory_algorithm_test_template.hpp index ccf3cc5..d857bea 100644 --- a/test/memory_algorithm_test_template.hpp +++ b/test/memory_algorithm_test_template.hpp @@ -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())