[cmap] Minor change iterator

This commit is contained in:
Behdad Esfahbod 2022-12-03 10:40:24 -07:00
parent 2cdaedaf54
commit 4cdb5cc69b
1 changed files with 1 additions and 1 deletions

View File

@ -928,7 +928,7 @@ struct DefaultUVS : SortedArray32Of<UnicodeValueRange>
hb_codepoint_t lastCode = HB_MAP_VALUE_INVALID;
int count = -1;
for (const UnicodeValueRange& _ : as_array ())
for (const UnicodeValueRange& _ : *this)
{
hb_codepoint_t curEntry = (unsigned) _.startUnicodeValue - 1;
hb_codepoint_t end = curEntry + _.additionalCount + 2;