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 {