mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix typo due to deletion
This commit is contained in:
@@ -416,7 +416,7 @@ map_insert_hash_dynamic :: proc "odin" (#no_alias m: ^Raw_Map, #no_alias info: ^
|
|||||||
tv := map_cell_index_dynamic(sv, info.vs, 1)
|
tv := map_cell_index_dynamic(sv, info.vs, 1)
|
||||||
|
|
||||||
swap_loop: for {
|
swap_loop: for {
|
||||||
if distance > mask
|
if distance > mask {
|
||||||
// Failed to find an empty slot and prevent infinite loop
|
// Failed to find an empty slot and prevent infinite loop
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user