[GSUB] Fix build on GCC < 7

This commit is contained in:
Kleis Auke Wolthuizen 2022-07-06 13:29:55 +02:00
parent 3238cb744b
commit 79eb0f7486
2 changed files with 7 additions and 6 deletions

View File

@ -5,9 +5,10 @@
#include "Common.hh" #include "Common.hh"
#include "SubstLookup.hh" #include "SubstLookup.hh"
using OT::Layout::GSUB_impl::SubstLookup;
namespace OT { namespace OT {
using Layout::GSUB_impl::SubstLookup;
namespace Layout { namespace Layout {
/* /*

View File

@ -32,9 +32,8 @@
#include "OT/Layout/GSUB/GSUB.hh" #include "OT/Layout/GSUB/GSUB.hh"
namespace OT { namespace OT {
namespace Layout {
using Layout::GSUB_impl::SubstLookup; namespace GSUB_impl {
using Layout::GSUB_impl::ExtensionSubst;
// TODO(garretrieger): Move into the new layout directory. // TODO(garretrieger): Move into the new layout directory.
/* Out-of-class implementation for methods recursing */ /* Out-of-class implementation for methods recursing */
@ -82,7 +81,8 @@ inline bool SubstLookup::dispatch_recurse_func<hb_ot_apply_context_t> (hb_ot_app
} }
#endif #endif
} /* namespace GSUB_impl */
} /* namespace Layout */
} /* namespace OT */ } /* namespace OT */