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: [PATCH] Fix a doc and a test issue not caught by CI --- doc/classes/TileMapLayer.xml | 2 +- tests/core/templates/test_oa_hash_map.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/doc/classes/TileMapLayer.xml b/doc/classes/TileMapLayer.xml index bc8e259599e1..da716a8fe33d 100644 --- a/doc/classes/TileMapLayer.xml +++ b/doc/classes/TileMapLayer.xml @@ -268,7 +268,7 @@ The quadrant size does not apply on a Y-sorted [TileMapLayer], as tiles are be grouped by Y position instead in that case. [b]Note:[/b] As quadrants are created according to the map's coordinate system, the quadrant's "square shape" might not look like square in the [TileMapLayer]'s local coordinate system. - + The raw tile map data as a byte array. diff --git a/tests/core/templates/test_oa_hash_map.h b/tests/core/templates/test_oa_hash_map.h index 6e80b52054ac..9359efa9640c 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++; } }