This commit is contained in:
Ginger Bill
2017-09-20 20:45:40 +01:00
parent d2c1c719bd
commit 3a644dad78
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ __get_map_header :: proc(m: ^$T/map[$K]$V) -> __Map_Header #cc_contextless {
__get_map_key :: proc(key: $K) -> __Map_Key #cc_contextless {
map_key: __Map_Key;
ti := type_info_base_without_enum(type_info_of(K));
match _ in ti {
match _ in ti.variant {
case Type_Info.Integer:
match 8*size_of(key) {
case 8: map_key.hash = u128(( ^u8)(&key)^);