Fix typo due to deletion

This commit is contained in:
gingerBill
2024-03-13 15:14:31 +00:00
parent 4aec2de7bd
commit dee66b8451

View File

@@ -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)
swap_loop: for {
if distance > mask
if distance > mask {
// Failed to find an empty slot and prevent infinite loop
return 0
}