One fewer cmp() implementation...

This commit is contained in:
Behdad Esfahbod 2010-09-29 12:10:24 -04:00
parent 4e573715ae
commit 36b3862009
1 changed files with 1 additions and 2 deletions

View File

@ -57,8 +57,7 @@ template <typename Type>
struct Record
{
inline int cmp (hb_tag_t a) const {
hb_tag_t b = tag;
return a < b ? -1 : a == b ? 0 : +1;
return tag.cmp (a);
}
inline bool sanitize (hb_sanitize_context_t *c, void *base) {