提交 6d042a18 编写于 作者: B Behdad Esfahbod

[CFF] Use enum for tableTag

上级 c1cbbb94
...@@ -984,7 +984,7 @@ using namespace CFF; ...@@ -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
{ {
......
...@@ -408,7 +408,7 @@ using namespace CFF; ...@@ -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
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册