Fix alloc.odin using old raw file

This commit is contained in:
Joshua Mark Manton
2018-06-03 11:22:42 -07:00
parent c39332c7e7
commit f0a4526250
+1 -1
View File
@@ -59,7 +59,7 @@ free_slice :: proc(array: $T/[]$E, loc := #caller_location) {
free_ptr(raw_data(array), loc);
}
free_map :: proc(m: $T/map[$K]$V, loc := #caller_location) {
raw := transmute(raw.Map)m;
raw := transmute(Raw_Map)m;
free_dynamic_array(raw.hashes, loc);
free_ptr(raw.entries.data, loc);
}