[Coverage] Internal rename

This commit is contained in:
Behdad Esfahbod 2022-07-21 12:18:51 -06:00
parent afa65f2903
commit 7b95783efb
3 changed files with 9 additions and 9 deletions

View File

@ -204,9 +204,9 @@ struct Coverage
}
}
template <typename IteratorOut,
hb_requires (hb_is_sink_of (IteratorOut, hb_codepoint_t))>
void intersect_set (const hb_set_t &glyphs, IteratorOut &intersect_glyphs) const
template <typename IterableOut,
hb_requires (hb_is_sink_of (IterableOut, hb_codepoint_t))>
void intersect_set (const hb_set_t &glyphs, IterableOut &intersect_glyphs) const
{
switch (u.format)
{

View File

@ -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 <typename IteratorOut,
hb_requires (hb_is_sink_of (IteratorOut, hb_codepoint_t))>
void intersect_set (const hb_set_t &glyphs, IteratorOut &intersect_glyphs) const
template <typename IterableOut,
hb_requires (hb_is_sink_of (IterableOut, hb_codepoint_t))>
void intersect_set (const hb_set_t &glyphs, IterableOut &intersect_glyphs) const
{
unsigned count = glyphArray.len;
for (unsigned i = 0; i < count; i++)

View File

@ -138,9 +138,9 @@ struct CoverageFormat2_4
return false;
}
template <typename IteratorOut,
hb_requires (hb_is_sink_of (IteratorOut, hb_codepoint_t))>
void intersect_set (const hb_set_t &glyphs, IteratorOut &intersect_glyphs) const
template <typename IterableOut,
hb_requires (hb_is_sink_of (IterableOut, hb_codepoint_t))>
void intersect_set (const hb_set_t &glyphs, IterableOut &intersect_glyphs) const
{
for (const auto& range : rangeRecord)
{