From 0deacb687114ccd113eefe69c7dd93355301764e Mon Sep 17 00:00:00 2001 From: Shane Shrybman Date: Tue, 17 Feb 2026 15:31:17 -0500 Subject: [PATCH] In handle_map.dynamic_add(), 'item' has been appended to the xar so this additional assignment is unneeded. --- core/container/handle_map/dynamic_handle_map.odin | 1 - 1 file changed, 1 deletion(-) diff --git a/core/container/handle_map/dynamic_handle_map.odin b/core/container/handle_map/dynamic_handle_map.odin index 053bbdc43..4024ac5b6 100644 --- a/core/container/handle_map/dynamic_handle_map.odin +++ b/core/container/handle_map/dynamic_handle_map.odin @@ -52,7 +52,6 @@ dynamic_add :: proc(m: ^$D/Dynamic_Handle_Map($T, $Handle_Type), item: T, loc := i := xar.len(m.items)-1 ptr := xar.get_ptr_unsafe(&m.items, i) - ptr^ = item ptr.handle.idx = auto_cast i ptr.handle.gen = 1