From: Behdad Esfahbod Date: Wed, 9 Jan 2019 18:18:49 +0000 (-0800) Subject: Remove unused Coverage::iter_t::get_coverage() X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=93551669c5a41ee11a156ef60a9f80dc328430b9;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Remove unused Coverage::iter_t::get_coverage() --- diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 2c9728a..ec05694 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -864,7 +864,6 @@ struct CoverageFormat1 bool more () const { return i < c->glyphArray.len; } void next () { i++; } hb_codepoint_t get_glyph () const { return c->glyphArray[i]; } - unsigned int get_coverage () const { return i; } private: const struct CoverageFormat1 *c; @@ -1016,7 +1015,6 @@ struct CoverageFormat2 j++; } hb_codepoint_t get_glyph () const { return j; } - unsigned int get_coverage () const { return coverage; } private: const struct CoverageFormat2 *c; @@ -1167,15 +1165,6 @@ struct Coverage default:return 0; } } - unsigned int get_coverage () const - { - switch (format) - { - case 1: return u.format1.get_coverage (); - case 2: return u.format2.get_coverage (); - default:return NOT_COVERED; - } - } private: unsigned int format;