diff --git a/src/hb-ot-name-table.hh b/src/hb-ot-name-table.hh index 26906671d8b3a07c188e850ff4fe285c8c7a34ce..c1e89a997dddd7a5cbfaad5f463ec8cc6fabfadb 100644 --- a/src/hb-ot-name-table.hh +++ b/src/hb-ot-name-table.hh @@ -47,22 +47,6 @@ namespace OT { struct NameRecord { - static int cmp (const void *pa, const void *pb) - { - const NameRecord *a = (const NameRecord *) pa; - const NameRecord *b = (const NameRecord *) pb; - int ret; - ret = b->platformID.cmp (a->platformID); - if (ret) return ret; - ret = b->encodingID.cmp (a->encodingID); - if (ret) return ret; - ret = b->languageID.cmp (a->languageID); - if (ret) return ret; - ret = b->nameID.cmp (a->nameID); - if (ret) return ret; - return 0; - } - inline uint16_t score (void) const { /* Same order as in cmap::find_best_subtable(). */