Fix typo due to deletion
This commit is contained in:
1 parent
4aec2de7bd
commit
dee66b8451
1 file changed
+1
-1
@@ -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