[ms-feature-ranges] Pass reference to cmp function
This commit is contained in:
parent
ac109c9353
commit
2d12fc90a4
|
@ -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; }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue