diff --git a/src/hb-open-type.hh b/src/hb-open-type.hh index eaefc3bc6..4704861d4 100644 --- a/src/hb-open-type.hh +++ b/src/hb-open-type.hh @@ -578,9 +578,7 @@ struct ArrayOf { return *as_array ().lsearch (x, &Null (T)); } inline void qsort (void) - { - ::qsort (arrayZ, len, sizeof (Type), Type::cmp); - } + { as_array ().qsort (); } inline bool sanitize_shallow (hb_sanitize_context_t *c) const {