diff --git a/src/hb-ot-cff1-table.hh b/src/hb-ot-cff1-table.hh index 0ec671493ec7fd6112a78dc55bbcbf0b2b2fe6b7..073dd7ea9142d653f77b333623ec5e6cacc4875e 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 b591db266d6fc59910f31203e9417567dc64f0b3..cd37863020a2fc6dfb0ae9a4a2e71710666759ea 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 {