From 380c3cffb9353083913a3bb505c2c62367613096 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sun, 20 Jan 2019 19:51:08 -0500 Subject: [PATCH] Use enum for class constant --- src/hb-cff-interp-common.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-cff-interp-common.hh b/src/hb-cff-interp-common.hh index 9a45332b7..7b0b829f1 100644 --- a/src/hb-cff-interp-common.hh +++ b/src/hb-cff-interp-common.hh @@ -477,7 +477,7 @@ struct stack_t unsigned int get_count () const { return count; } bool is_empty () const { return count == 0; } - static const unsigned int kSizeLimit = LIMIT; + enum { kSizeLimit = LIMIT }; protected: bool error;