From 1e6599f59680c81356b2e9ddddb61252490337a0 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 5 Sep 2018 19:29:42 -0700 Subject: [PATCH] Fix older compilers re '>>' at nested template declarations --- src/hb-ot-layout-gsub-table.hh | 8 ++++---- src/hb-subset.cc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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))) -- 2.7.4