From 6d042a18e7079e07a2b2f465a6a56483a42ef189 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 0ec67149..073dd7ea 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 b591db26..cd378630 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 { -- GitLab