commit | 36b3862009c00ad922d68810173a69ac59723365 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Sep 29 12:10:24 2010 -0400 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Sep 29 12:10:24 2010 -0400 |
tree | c56eb10a05d17cdc4717ecfbde66e9c7196e8ee0 | |
parent | 4e573715ae5f5ed486ad66382bb44c47a86591ff [diff] |
One fewer cmp() implementation...
diff --git a/src/hb-ot-layout-common-private.hh b/src/hb-ot-layout-common-private.hh index 5db8f67..e3adfe8 100644 --- a/src/hb-ot-layout-common-private.hh +++ b/src/hb-ot-layout-common-private.hh
@@ -57,8 +57,7 @@ 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) {