From 073d837aa2394d29dda72679802d583c559c3c5b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 24 Nov 2018 01:48:48 -0500 Subject: [PATCH] [arrays] Port ArrayOf.qsort() to hb_array_t's --- src/hb-open-type.hh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 {