[ms-feature-ranges] Pass reference to cmp function

This commit is contained in:
Behdad Esfahbod 2022-01-19 14:01:20 -07:00
parent ac109c9353
commit 2d12fc90a4
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ struct hb_ms_active_feature_t {
a->fea.value < b->fea.value ? -1 : a->fea.value > b->fea.value ? 1 :
0;
}
bool operator== (const hb_ms_active_feature_t f) const
bool operator== (const hb_ms_active_feature_t& f) const
{ return cmp (this, &f) == 0; }
};