Fix build

This commit is contained in:
Behdad Esfahbod 2022-11-26 15:18:16 -07:00
parent 70d97d079b
commit e302b9d5da
2 changed files with 2 additions and 2 deletions

View File

@ -648,7 +648,7 @@ _hb_coretext_shape (hb_shape_plan_t *shape_plan,
} else {
active_feature_t *feature = active_features.lsearch (event->feature);
if (feature)
active_features.remove (feature - active_features.arrayZ);
active_features.remove_ordered (feature - active_features.arrayZ);
}
}
}

View File

@ -166,7 +166,7 @@ hb_ms_setup_features (const hb_feature_t *features,
{
auto *feature = active_features.lsearch (event->feature);
if (feature)
active_features.remove (feature - active_features.arrayZ);
active_features.remove_ordered (feature - active_features.arrayZ);
}
}