Give the enum a name

[SVN r29349]
This commit is contained in:
Douglas Gregor
2005-06-01 19:08:00 +00:00
parent ea15a9abf6
commit 0a8936b80a

View File

@ -118,7 +118,7 @@ public:
* The actual stored value in this 3-state boolean, which may be false, true,
* or indeterminate.
*/
enum { false_value, true_value, indeterminate_value } value;
enum value_t { false_value, true_value, indeterminate_value } value;
};
// Check if the given tribool has an indeterminate value. Also doubles as a