From 4cdb5cc69b6110fe28b9e01d9c3e4e8f4a8b3272 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 3 Dec 2022 10:40:24 -0700 Subject: [PATCH] [cmap] Minor change iterator --- src/hb-ot-cmap-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-cmap-table.hh b/src/hb-ot-cmap-table.hh index 1149b95f5..0c57d1d7d 100644 --- a/src/hb-ot-cmap-table.hh +++ b/src/hb-ot-cmap-table.hh @@ -928,7 +928,7 @@ struct DefaultUVS : SortedArray32Of 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;