[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 "SubstLookup.hh"
using OT::Layout::GSUB_impl::SubstLookup;
namespace OT {
using Layout::GSUB_impl::SubstLookup;
namespace Layout {
/*

View File

@ -32,9 +32,8 @@
#include "OT/Layout/GSUB/GSUB.hh"
namespace OT {
using Layout::GSUB_impl::SubstLookup;
using Layout::GSUB_impl::ExtensionSubst;
namespace Layout {
namespace GSUB_impl {
// TODO(garretrieger): Move into the new layout directory.
/* 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
} /* namespace GSUB_impl */
} /* namespace Layout */
} /* namespace OT */