From 7b95783efb36e35cc6acf579e4bb88bcefd50ae9 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 21 Jul 2022 12:18:51 -0600 Subject: [PATCH] [Coverage] Internal rename --- src/OT/Layout/Common/Coverage.hh | 6 +++--- src/OT/Layout/Common/CoverageFormat1.hh | 6 +++--- src/OT/Layout/Common/CoverageFormat2.hh | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/OT/Layout/Common/Coverage.hh b/src/OT/Layout/Common/Coverage.hh index 39a88855b..e52a617c8 100644 --- a/src/OT/Layout/Common/Coverage.hh +++ b/src/OT/Layout/Common/Coverage.hh @@ -204,9 +204,9 @@ struct Coverage } } - template - void intersect_set (const hb_set_t &glyphs, IteratorOut &intersect_glyphs) const + template + void intersect_set (const hb_set_t &glyphs, IterableOut &intersect_glyphs) const { switch (u.format) { diff --git a/src/OT/Layout/Common/CoverageFormat1.hh b/src/OT/Layout/Common/CoverageFormat1.hh index b1314e34c..886babd2d 100644 --- a/src/OT/Layout/Common/CoverageFormat1.hh +++ b/src/OT/Layout/Common/CoverageFormat1.hh @@ -86,9 +86,9 @@ struct CoverageFormat1_3 bool intersects_coverage (const hb_set_t *glyphs, unsigned int index) const { return glyphs->has (glyphArray[index]); } - template - void intersect_set (const hb_set_t &glyphs, IteratorOut &intersect_glyphs) const + template + void intersect_set (const hb_set_t &glyphs, IterableOut &intersect_glyphs) const { unsigned count = glyphArray.len; for (unsigned i = 0; i < count; i++) diff --git a/src/OT/Layout/Common/CoverageFormat2.hh b/src/OT/Layout/Common/CoverageFormat2.hh index f4e3ad0e1..675a552cd 100644 --- a/src/OT/Layout/Common/CoverageFormat2.hh +++ b/src/OT/Layout/Common/CoverageFormat2.hh @@ -138,9 +138,9 @@ struct CoverageFormat2_4 return false; } - template - void intersect_set (const hb_set_t &glyphs, IteratorOut &intersect_glyphs) const + template + void intersect_set (const hb_set_t &glyphs, IterableOut &intersect_glyphs) const { for (const auto& range : rangeRecord) {