From: Behdad Esfahbod Date: Thu, 6 Sep 2018 02:29:42 +0000 (-0700) Subject: Fix older compilers re '>>' at nested template declarations X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e6599f59680c81356b2e9ddddb61252490337a0;p=platform%2Fupstream%2FlibHarfBuzzSharp.git Fix older compilers re '>>' at nested template declarations --- diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh index 5763361..76a0ea6 100644 --- a/src/hb-ot-layout-gsub-table.hh +++ b/src/hb-ot-layout-gsub-table.hh @@ -110,8 +110,8 @@ struct SingleSubstFormat1 inline bool subset (hb_subset_context_t *c) const { TRACE_SUBSET (this); - hb_auto_t> from; - hb_auto_t> to; + hb_auto_t > from; + hb_auto_t > to; hb_codepoint_t delta = deltaGlyphID; for (hb_auto_t iter (this+coverage); iter.more (); iter.next ()) { @@ -216,8 +216,8 @@ struct SingleSubstFormat2 inline bool subset (hb_subset_context_t *c) const { TRACE_SUBSET (this); - hb_auto_t> from; - hb_auto_t> to; + hb_auto_t > from; + hb_auto_t > to; for (hb_auto_t iter (this+coverage); iter.more (); iter.next ()) { if (!c->plan->glyphset->has (iter.get_glyph ())) diff --git a/src/hb-subset.cc b/src/hb-subset.cc index a67e416..adc7c51 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc @@ -65,7 +65,7 @@ _subset2 (hb_subset_plan_t *plan) hb_bool_t result = false; if (source_blob->data) { - hb_auto_t> buf; + hb_auto_t > buf; unsigned int buf_size = _plan_estimate_subset_table_size (plan, source_blob->length); DEBUG_MSG(SUBSET, nullptr, "OT::%c%c%c%c initial estimated table size: %u bytes.", HB_UNTAG(tag), buf_size); if (unlikely (!buf.alloc (buf_size)))