[subset-plan] Use add_array instead of add_sorted_array
That vector is not declared as sorted.
This commit is contained in:
parent
32e049a315
commit
1a40da4ad1
|
@ -571,7 +571,7 @@ _populate_unicodes_to_retain (const hb_set_t *unicodes,
|
||||||
auto &arr = plan->unicode_to_new_gid_list;
|
auto &arr = plan->unicode_to_new_gid_list;
|
||||||
if (arr.length)
|
if (arr.length)
|
||||||
{
|
{
|
||||||
plan->unicodes->add_sorted_array (&arr.arrayZ->first, arr.length, sizeof (*arr.arrayZ));
|
plan->unicodes->add_array (&arr.arrayZ->first, arr.length, sizeof (*arr.arrayZ));
|
||||||
plan->_glyphset_gsub->add_array (&arr.arrayZ->second, arr.length, sizeof (*arr.arrayZ));
|
plan->_glyphset_gsub->add_array (&arr.arrayZ->second, arr.length, sizeof (*arr.arrayZ));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue