C++11: Use sized enums (+4% performance).

This commit is contained in:
Wilson Snyder
2020-08-16 12:05:35 -04:00
parent ee9d6dd63f
commit 78aee6f4e7
32 changed files with 93 additions and 70 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ public:
int m_lastLineno = 0; // Last line number (stall detection)
int m_tokensOnLine = 0; // Number of tokens on line (stall detection)
enum ProcState {
enum ProcState : uint8_t {
ps_TOP,
ps_DEFNAME_UNDEF,
ps_DEFNAME_DEFINE,