mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 08:51:07 +01:00
Use enum for class constant
This commit is contained in:
1 parent
cf7edf52c3
commit
dd7c628ed1
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user