[dispatch] Minor
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 12 Dec 2018 14:50:18 +0000 (09:50 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 12 Dec 2018 14:50:18 +0000 (09:50 -0500)
src/hb-machinery.hh
src/hb-ot-layout-gsubgpos.hh
src/hb-subset.hh

index 5180e1e..3e2f840 100644 (file)
@@ -139,6 +139,7 @@ struct hb_dispatch_context_t
   template <typename T, typename F>
   inline bool may_dispatch (const T *obj HB_UNUSED, const F *format HB_UNUSED) { return true; }
   static return_t no_dispatch_return_value (void) { return Context::default_return_value (); }
+  static bool stop_sublookup_iteration (const return_t r HB_UNUSED) { return false; }
 };
 
 
index 893c0da..cdfacca 100644 (file)
@@ -66,7 +66,6 @@ struct hb_closure_context_t :
   template <typename T>
   inline return_t dispatch (const T &obj) { obj.closure (this); return HB_VOID; }
   static return_t default_return_value (void) { return HB_VOID; }
-  bool stop_sublookup_iteration (return_t r HB_UNUSED) const { return false; }
   void recurse (unsigned int lookup_index)
   {
     if (unlikely (nesting_level_left == 0 || !recurse_func))
@@ -162,7 +161,6 @@ struct hb_collect_glyphs_context_t :
   template <typename T>
   inline return_t dispatch (const T &obj) { obj.collect_glyphs (this); return HB_VOID; }
   static return_t default_return_value (void) { return HB_VOID; }
-  bool stop_sublookup_iteration (return_t r HB_UNUSED) const { return false; }
   void recurse (unsigned int lookup_index)
   {
     if (unlikely (nesting_level_left == 0 || !recurse_func))
@@ -665,7 +663,6 @@ struct hb_get_subtables_context_t :
     return HB_VOID;
   }
   static return_t default_return_value (void) { return HB_VOID; }
-  bool stop_sublookup_iteration (return_t r HB_UNUSED) const { return false; }
 
   hb_get_subtables_context_t (array_t &array_) :
                              array (array_),
index e43c79f..44a29f4 100644 (file)
@@ -43,7 +43,6 @@ struct hb_subset_context_t :
   template <typename T>
   inline bool dispatch (const T &obj) { return obj.subset (this); }
   static bool default_return_value (void) { return true; }
-  bool stop_sublookup_iteration (bool r HB_UNUSED) const { return false; }
 
   hb_subset_plan_t *plan;
   hb_serialize_context_t *serializer;