Fix map_get typo

This commit is contained in:
gingerBill
2023-06-06 11:08:09 +01:00
parent efb7fd919b
commit ecad730945

View File

@@ -771,7 +771,7 @@ map_get :: proc "contextless" (m: $T/map[$K]$V, key: K) -> (stored_key: K, store
info := intrinsics.type_map_info(T)
key := key
h := info.key_hasher(&key, map_seed(m))
h := info.key_hasher(&key, map_seed(rm))
pos := map_desired_position(rm, h)
distance := uintptr(0)
mask := (uintptr(1) << map_log2_cap(rm)) - 1