提交 073d837a 编写于 作者: B Behdad Esfahbod

[arrays] Port ArrayOf.qsort() to hb_array_t's

上级 ad5c871d
...@@ -578,9 +578,7 @@ struct ArrayOf ...@@ -578,9 +578,7 @@ struct ArrayOf
{ return *as_array ().lsearch (x, &Null (T)); } { return *as_array ().lsearch (x, &Null (T)); }
inline void qsort (void) inline void qsort (void)
{ { as_array ().qsort (); }
::qsort (arrayZ, len, sizeof (Type), Type::cmp);
}
inline bool sanitize_shallow (hb_sanitize_context_t *c) const inline bool sanitize_shallow (hb_sanitize_context_t *c) const
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册