One fewer cmp() implementation...
This commit is contained in:
parent
4e573715ae
commit
36b3862009
|
@ -57,8 +57,7 @@ template <typename Type>
|
||||||
struct Record
|
struct Record
|
||||||
{
|
{
|
||||||
inline int cmp (hb_tag_t a) const {
|
inline int cmp (hb_tag_t a) const {
|
||||||
hb_tag_t b = tag;
|
return tag.cmp (a);
|
||||||
return a < b ? -1 : a == b ? 0 : +1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline bool sanitize (hb_sanitize_context_t *c, void *base) {
|
inline bool sanitize (hb_sanitize_context_t *c, void *base) {
|
||||||
|
|
Loading…
Reference in New Issue