From b906412f47a54bf044ee545235168952b352c118 Mon Sep 17 00:00:00 2001 From: imlodinu Date: Fri, 13 Feb 2026 15:46:28 +0800 Subject: use xar.len instead of len for accessing length of items --- core/container/handle_map/dynamic_handle_map.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/container/handle_map/dynamic_handle_map.odin b/core/container/handle_map/dynamic_handle_map.odin index 72273873b..053bbdc43 100644 --- a/core/container/handle_map/dynamic_handle_map.odin +++ b/core/container/handle_map/dynamic_handle_map.odin @@ -49,7 +49,7 @@ dynamic_add :: proc(m: ^$D/Dynamic_Handle_Map($T, $Handle_Type), item: T, loc := } _ = xar.append(&m.items, item, loc) or_return - i := len(m.items)-1 + i := xar.len(m.items)-1 ptr := xar.get_ptr_unsafe(&m.items, i) ptr^ = item -- cgit v1.2.3