diff --git a/src/hb-machinery.hh b/src/hb-machinery.hh index 5180e1e02..3e2f84038 100644 --- a/src/hb-machinery.hh +++ b/src/hb-machinery.hh @@ -139,6 +139,7 @@ struct hb_dispatch_context_t template 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; } }; diff --git a/src/hb-ot-layout-gsubgpos.hh b/src/hb-ot-layout-gsubgpos.hh index 893c0daab..cdfaccaae 100644 --- a/src/hb-ot-layout-gsubgpos.hh +++ b/src/hb-ot-layout-gsubgpos.hh @@ -66,7 +66,6 @@ struct hb_closure_context_t : template 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 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_), diff --git a/src/hb-subset.hh b/src/hb-subset.hh index e43c79f5e..44a29f4b9 100644 --- a/src/hb-subset.hh +++ b/src/hb-subset.hh @@ -43,7 +43,6 @@ struct hb_subset_context_t : template 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;