Fix bug in map implementation
This commit is contained in:
parent
1cd5969f25
commit
16123e1070
|
@ -379,7 +379,7 @@ struct hb_map_t
|
||||||
if (!item) return;
|
if (!item) return;
|
||||||
|
|
||||||
item->finish ();
|
item->finish ();
|
||||||
items[items.len - 1] = *item;
|
*item = items[items.len - 1];
|
||||||
items.pop ();
|
items.pop ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue