make None the first enum type

This commit is contained in:
Ari Lazier 2015-11-25 19:10:59 -08:00
parent 6ac6f39894
commit 1faf3d21d4
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ namespace realm {
namespace parser { namespace parser {
struct Expression struct Expression
{ {
enum class Type { Number, String, KeyPath, Argument, True, False, None } type = Type::None; enum class Type { None, Number, String, KeyPath, Argument, True, False } type = Type::None;
std::string s; std::string s;
Expression() {} Expression() {}
Expression(Type t, std::string s) : type(t), s(s) {} Expression(Type t, std::string s) : type(t), s(s) {}