[set] Minor rewrite one cmp() in term of other
This commit is contained in:
parent
5b4dbf5af3
commit
32bbf53d9c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue