Try to fix Wrange-loop-analysis

This commit is contained in:
ckitagawa 2020-01-24 15:49:25 -05:00
parent 0d1ba94ac7
commit 81c469eb62

View File

@ -186,7 +186,7 @@ struct COLR
hb_sorted_array_t<BaseGlyphRecord> glyph_records = (this+baseGlyphsZ).as_array (numBaseGlyphs); hb_sorted_array_t<BaseGlyphRecord> glyph_records = (this+baseGlyphsZ).as_array (numBaseGlyphs);
unsigned int index = 0; unsigned int index = 0;
for (const hb_item_type<Iterator>& _ : it.iter ()) for (const hb_item_type<Iterator>& _ : + it.iter ())
{ {
const unsigned int new_gid = _.first; const unsigned int new_gid = _.first;
const BaseGlyphRecord* record = _.second; const BaseGlyphRecord* record = _.second;