Use smaller data type for TriStateBool

This commit is contained in:
Chocobo1 2017-09-17 01:42:39 +08:00 committed by sledgehammer999
parent 4213d37857
commit 5ab67faacb
No known key found for this signature in database
GPG key ID: 6E4A2D025B7CC9A2

View file

@ -47,7 +47,7 @@ public:
bool operator!=(const TriStateBool &other) const;
private:
int m_value = -1; // Undefined by default
signed char m_value = -1; // Undefined by default
};
#endif // TRISTATEBOOL_H