From cf7edf52c3cb38989af20b196a69bf099a1681d6 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 20 Jan 2019 19:49:59 -0500 Subject: [PATCH] [CFF] Use enum for tableTag --- src/hb-ot-cff1-table.hh | 2 +- src/hb-ot-cff2-table.hh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ot-cff1-table.hh b/src/hb-ot-cff1-table.hh index 0ec671493..073dd7ea9 100644 --- a/src/hb-ot-cff1-table.hh +++ b/src/hb-ot-cff1-table.hh @@ -984,7 +984,7 @@ using namespace CFF; 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 { diff --git a/src/hb-ot-cff2-table.hh b/src/hb-ot-cff2-table.hh index b591db266..cd3786302 100644 --- a/src/hb-ot-cff2-table.hh +++ b/src/hb-ot-cff2-table.hh @@ -408,7 +408,7 @@ using namespace CFF; 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 {