Skip to content

Commit 83b916b

Browse files
committed
Fix a doc and a test issue not caught by CI
1 parent a8bd519 commit 83b916b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

doc/classes/TileMapLayer.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
The quadrant size does not apply on a Y-sorted [TileMapLayer], as tiles are be grouped by Y position instead in that case.
269269
[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.
270270
</member>
271-
<member name="tile_map_data" type="PackedByteArray" setter="set_tile_map_data_from_array" getter="get_tile_map_data_as_array" default="PackedByteArray(0, 0)">
271+
<member name="tile_map_data" type="PackedByteArray" setter="set_tile_map_data_from_array" getter="get_tile_map_data_as_array" default="PackedByteArray(&quot;AAA=&quot;)">
272272
The raw tile map data as a byte array.
273273
</member>
274274
<member name="tile_set" type="TileSet" setter="set_tile_set" getter="get_tile_set">

tests/core/templates/test_oa_hash_map.h

-2
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,9 @@ TEST_CASE("[OAHashMap] Iteration") {
100100
expected.push_back(Pair<int, int>(0, 12934));
101101
expected.push_back(Pair<int, int>(123485, 1238888));
102102

103-
int idx = 0;
104103
for (OAHashMap<int, int>::Iterator it = map.iter(); it.valid; it = map.next_iter(it)) {
105104
int64_t result = expected.find(Pair<int, int>(*it.key, *it.value));
106105
CHECK(result >= 0);
107-
idx++;
108106
}
109107
}
110108

0 commit comments

Comments
 (0)