aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-13 12:38:11 +0100
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2026-02-13 12:38:11 +0100
commitf7f19e5ebe45547732c2af39aa7f71feefd76f72 (patch)
treecfded504d9503b0f8ae43e83e844077fb905046e
parent57653dd363859048d0004b9e69293727394782b8 (diff)
parent4e2dcb6b742e189e711e4cf32053d0eb3b55325b (diff)
Merge branch 'master' of github.com:odin-lang/Odin
-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