aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorimlodinu <lodinukal@gmail.com>2026-02-13 15:46:28 +0800
committerimlodinu <lodinukal@gmail.com>2026-02-13 15:46:28 +0800
commitb906412f47a54bf044ee545235168952b352c118 (patch)
tree29f0fd6f12b8d98ee6d33e26102648989c0e7b4b /core
parent22a5792888ce37414e97877b0fa3210deec902f0 (diff)
use xar.len instead of len for accessing length of items
Diffstat (limited to 'core')
-rw-r--r--core/container/handle_map/dynamic_handle_map.odin2
1 files changed, 1 insertions, 1 deletions
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