From 1faf3d21d4502ef7370a3495d9498373cc0eab86 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Wed, 25 Nov 2015 19:10:59 -0800 Subject: [PATCH] make None the first enum type --- parser/parser.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/parser.hpp b/parser/parser.hpp index 4081f3d3..377eda5d 100644 --- a/parser/parser.hpp +++ b/parser/parser.hpp @@ -28,7 +28,7 @@ namespace realm { namespace parser { 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; Expression() {} Expression(Type t, std::string s) : type(t), s(s) {}