[GSUB] Fix build on GCC < 7

pull/3707/head
Kleis Auke Wolthuizen 2 years ago
parent 3238cb744b
commit 79eb0f7486
  1. 5
      src/OT/Layout/GSUB/GSUB.hh
  2. 8
      src/hb-ot-layout-gsub-table.hh

@ -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 {
/*

@ -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 */

Loading…
Cancel
Save