Fix older compilers re '>>' at nested template declarations
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 6 Sep 2018 02:29:42 +0000 (19:29 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 6 Sep 2018 02:29:42 +0000 (19:29 -0700)
src/hb-ot-layout-gsub-table.hh
src/hb-subset.cc

index 5763361..76a0ea6 100644 (file)
@@ -110,8 +110,8 @@ struct SingleSubstFormat1
   inline bool subset (hb_subset_context_t *c) const
   {
     TRACE_SUBSET (this);
-    hb_auto_t<hb_vector_t<GlyphID>> from;
-    hb_auto_t<hb_vector_t<GlyphID>> to;
+    hb_auto_t<hb_vector_t<GlyphID> > from;
+    hb_auto_t<hb_vector_t<GlyphID> > to;
     hb_codepoint_t delta = deltaGlyphID;
     for (hb_auto_t<Coverage::Iter> 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<hb_vector_t<GlyphID>> from;
-    hb_auto_t<hb_vector_t<GlyphID>> to;
+    hb_auto_t<hb_vector_t<GlyphID> > from;
+    hb_auto_t<hb_vector_t<GlyphID> > to;
     for (hb_auto_t<Coverage::Iter> iter (this+coverage); iter.more (); iter.next ())
     {
       if (!c->plan->glyphset->has (iter.get_glyph ()))
index a67e416..adc7c51 100644 (file)
@@ -65,7 +65,7 @@ _subset2 (hb_subset_plan_t *plan)
   hb_bool_t result = false;
   if (source_blob->data)
   {
-    hb_auto_t<hb_vector_t<char>> buf;
+    hb_auto_t<hb_vector_t<char> > 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)))