mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Change internal map indices to use a distinct uint rather than just int
This commit is contained in:
@@ -289,7 +289,7 @@ clear_map :: proc "contextless" (m: ^$T/map[$K]$V) {
|
||||
entries := (^Raw_Dynamic_Array)(&raw_map.entries)
|
||||
entries.len = 0
|
||||
for _, i in raw_map.hashes {
|
||||
raw_map.hashes[i] = -1
|
||||
raw_map.hashes[i] = MAP_SENTINEL
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user