[CFF] Use enum for tableTag

This commit is contained in:
Behdad Esfahbod 2019-01-20 19:49:59 -05:00
parent c1cbbb9459
commit 6d042a18e7
2 changed files with 2 additions and 2 deletions

View File

@ -984,7 +984,7 @@ using namespace CFF;
struct cff1 struct cff1
{ {
static const hb_tag_t tableTag = HB_OT_TAG_cff1; enum { tableTag = HB_OT_TAG_cff1 };
bool sanitize (hb_sanitize_context_t *c) const bool sanitize (hb_sanitize_context_t *c) const
{ {

View File

@ -408,7 +408,7 @@ using namespace CFF;
struct cff2 struct cff2
{ {
static const hb_tag_t tableTag = HB_OT_TAG_cff2; enum { tableTag = HB_OT_TAG_cff2 };
bool sanitize (hb_sanitize_context_t *c) const bool sanitize (hb_sanitize_context_t *c) const
{ {