From 83b916bb00eb8cac4584143a80f5cfad7ce1e908 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Wed, 10 Apr 2024 18:49:02 +0200 Subject: Fix a doc and a test issue not caught by CI --- tests/core/templates/test_oa_hash_map.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests') diff --git a/tests/core/templates/test_oa_hash_map.h b/tests/core/templates/test_oa_hash_map.h index 6e80b52054..9359efa964 100644 --- a/tests/core/templates/test_oa_hash_map.h +++ b/tests/core/templates/test_oa_hash_map.h @@ -100,11 +100,9 @@ TEST_CASE("[OAHashMap] Iteration") { expected.push_back(Pair(0, 12934)); expected.push_back(Pair(123485, 1238888)); - int idx = 0; for (OAHashMap::Iterator it = map.iter(); it.valid; it = map.next_iter(it)) { int64_t result = expected.find(Pair(*it.key, *it.value)); CHECK(result >= 0); - idx++; } } -- cgit v1.2.3