From 08f1eede1bbc01ece2adf89847614a0670e50443 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 23 Nov 2012 16:51:43 -0500 Subject: [PATCH] Minor --- src/hb-ot-layout-gpos-table.hh | 19 ++----------------- src/hb-ot-layout-gsub-table.hh | 19 ++----------------- 2 files changed, 4 insertions(+), 34 deletions(-) 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 {