diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index 794e44f50..70be84483 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot-layout-gpos-table.hh @@ -1242,24 +1242,9 @@ struct MarkMarkPos }; -struct ContextPos : Context -{ - template - inline typename context_t::return_t process (context_t *c) const - { - return Context::process (c); - } -}; - -struct ChainContextPos : ChainContext -{ - template - inline typename context_t::return_t process (context_t *c) const - { - return ChainContext::process (c); - } -}; +struct ContextPos : Context {}; +struct ChainContextPos : ChainContext {}; struct ExtensionPos : Extension { diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh index fdf2cc2fa..7f23decf5 100644 --- a/src/hb-ot-layout-gsub-table.hh +++ b/src/hb-ot-layout-gsub-table.hh @@ -874,24 +874,9 @@ struct LigatureSubst }; -struct ContextSubst : Context -{ - template - inline typename context_t::return_t process (context_t *c) const - { - return Context::process (c); - } -}; - -struct ChainContextSubst : ChainContext -{ - template - inline typename context_t::return_t process (context_t *c) const - { - return ChainContext::process (c); - } -}; +struct ContextSubst : Context {}; +struct ChainContextSubst : ChainContext {}; struct ExtensionSubst : Extension {