commit | 380c3cffb9353083913a3bb505c2c62367613096 | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Sun Jan 20 19:51:08 2019 -0500 |
committer | Behdad Esfahbod <behdad@behdad.org> | Tue Jan 22 10:51:20 2019 +0100 |
tree | 4a595b45a75884e3635ff8a48b696ec1e5156295 | |
parent | 6d042a18e7079e07a2b2f465a6a56483a42ef189 [diff] |
Use enum for class constant
diff --git a/src/hb-cff-interp-common.hh b/src/hb-cff-interp-common.hh index 9a45332..7b0b829 100644 --- a/src/hb-cff-interp-common.hh +++ b/src/hb-cff-interp-common.hh
@@ -477,7 +477,7 @@ 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;