diff --git a/src/hb-open-type-private.hh b/src/hb-open-type-private.hh index 2687ba664..de5e9917f 100644 --- a/src/hb-open-type-private.hh +++ b/src/hb-open-type-private.hh @@ -697,10 +697,7 @@ struct Tag : ULONG DEFINE_NULL_DATA (Tag, " "); /* Glyph index number, same as uint16 (length = 16 bits) */ -struct GlyphID : USHORT { - static inline int cmp (const GlyphID *a, const GlyphID *b) { return b->USHORT::cmp (*a); } - inline int cmp (hb_codepoint_t a) const { return (int) a - (int) *this; } -}; +typedef USHORT GlyphID; /* Script/language-system/feature index */ struct Index : USHORT {