[subset-plan] Use add_array instead of add_sorted_array

That vector is not declared as sorted.
This commit is contained in:
Behdad Esfahbod 2022-12-02 16:13:37 -07:00
parent 32e049a315
commit 1a40da4ad1
1 changed files with 1 additions and 1 deletions

View File

@ -571,7 +571,7 @@ _populate_unicodes_to_retain (const hb_set_t *unicodes,
auto &arr = plan->unicode_to_new_gid_list;
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));
}
}