From 32bbf53d9c860c32fb9109a11459ccba6eba7110 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 15 Aug 2021 11:06:52 -0600 Subject: [PATCH] [set] Minor rewrite one cmp() in term of other --- src/hb-set.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-set.hh b/src/hb-set.hh index 8bb7f9f0b..e1bcf2b53 100644 --- a/src/hb-set.hh +++ b/src/hb-set.hh @@ -50,7 +50,7 @@ struct hb_set_t struct page_map_t { - int cmp (const page_map_t &o) const { return (int) o.major - (int) major; } + int cmp (const page_map_t &o) const { return cmp (o.major); } int cmp (uint32_t o_major) const { return (int) o_major - (int) major; } uint32_t major;