Fix bad implementation of tribool

This commit is contained in:
Tindy X 2020-07-23 10:41:20 +08:00
parent 9f67b9051c
commit d982e060ef
No known key found for this signature in database
GPG Key ID: C6AD413169968D58

View File

@ -207,7 +207,7 @@ public:
{ {
if(_M_VALUE <= 1) if(_M_VALUE <= 1)
return def_value; return def_value;
return _M_VALUE; return _M_VALUE == 3;
} }
std::string get_str() std::string get_str()