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

pull/3390/head
Behdad Esfahbod 3 years ago
parent ac109c9353
commit 2d12fc90a4
  1. 2
      src/hb-ms-feature-ranges.hh

@ -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…
Cancel
Save