diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh index 3ed9ee2b8..8aa2eb651 100644 --- a/src/hb-ot-layout-gsub-table.hh +++ b/src/hb-ot-layout-gsub-table.hh @@ -348,7 +348,7 @@ struct MultipleSubstFormat1 + hb_zip (this+coverage, sequence) | hb_filter (*c->glyphs, hb_first) | hb_map (hb_second) - | hb_apply ([&](const OffsetTo &_) { (this+_).closure (c); }) + | hb_apply ([&] (const OffsetTo &_) { (this+_).closure (c); }) ; } @@ -357,7 +357,7 @@ struct MultipleSubstFormat1 if (unlikely (!(this+coverage).add_coverage (c->input))) return; + hb_zip (this+coverage, sequence) | hb_map (hb_second) - | hb_apply ([&](const OffsetTo &_) { (this+_).collect_glyphs (c); }) + | hb_apply ([&] (const OffsetTo &_) { (this+_).collect_glyphs (c); }) ; } @@ -525,7 +525,7 @@ struct AlternateSubstFormat1 { + hb_zip (this+coverage, alternateSet) | hb_map (hb_second) - | hb_apply ([&](const OffsetTo &_) { (this+_).closure (c); }) + | hb_apply ([&] (const OffsetTo &_) { (this+_).closure (c); }) ; } @@ -534,7 +534,7 @@ struct AlternateSubstFormat1 if (unlikely (!(this+coverage).add_coverage (c->input))) return; + hb_zip (this+coverage, alternateSet) | hb_map (hb_second) - | hb_apply ([&](const OffsetTo &_) { (this+_).collect_glyphs (c); }) + | hb_apply ([&] (const OffsetTo &_) { (this+_).collect_glyphs (c); }) ; } @@ -845,7 +845,7 @@ struct LigatureSubstFormat1 + hb_zip (this+coverage, ligatureSet) | hb_filter (*c->glyphs, hb_first) | hb_map (hb_second) - | hb_apply ([&](const OffsetTo &_) { (this+_).closure (c); }) + | hb_apply ([&] (const OffsetTo &_) { (this+_).closure (c); }) ; } @@ -854,7 +854,7 @@ struct LigatureSubstFormat1 if (unlikely (!(this+coverage).add_coverage (c->input))) return; + hb_zip (this+coverage, ligatureSet) | hb_map (hb_second) - | hb_apply ([&](const OffsetTo &_) { (this+_).collect_glyphs (c); }) + | hb_apply ([&] (const OffsetTo &_) { (this+_).collect_glyphs (c); }) ; }