mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-21 15:01:01 +01:00
[ms-feature-ranges] Pass reference to cmp function
This commit is contained in:
1 parent
ac109c9353
commit
2d12fc90a4
1 file changed
+1
-1
@@ -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; }
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user