Skip to content

Commit

Permalink
[GSUB] Fix build on GCC < 7
Browse files Browse the repository at this point in the history
  • Loading branch information
kleisauke committed Jul 6, 2022
1 parent 3238cb7 commit 79eb0f7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions src/OT/Layout/GSUB/GSUB.hh
Expand Up @@ -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 {

/*
Expand Down
8 changes: 4 additions & 4 deletions src/hb-ot-layout-gsub-table.hh
Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */


Expand Down

0 comments on commit 79eb0f7

Please sign in to comment.