mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-01 20:28:15 +00:00
encoding/cbor: minor things
This commit is contained in:
@@ -686,8 +686,6 @@ _unmarshal_map :: proc(d: Decoder, v: any, ti: ^reflect.Type_Info, hdr: Header,
|
||||
return _unsupported(v, hdr)
|
||||
}
|
||||
|
||||
// TODO: shrink excess.
|
||||
|
||||
raw_map := (^mem.Raw_Map)(v.data)
|
||||
if raw_map.allocator.procedure == nil {
|
||||
raw_map.allocator = context.allocator
|
||||
|
||||
Reference in New Issue
Block a user