From d143929454f0d2e1483438d55f085a0545a52bcc Mon Sep 17 00:00:00 2001 From: Chocobo1 Date: Sun, 17 Sep 2017 01:42:39 +0800 Subject: [PATCH] Use smaller data type for TriStateBool --- src/base/tristatebool.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/tristatebool.h b/src/base/tristatebool.h index a75d1d09c..62821e30d 100644 --- a/src/base/tristatebool.h +++ b/src/base/tristatebool.h @@ -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