mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-12 15:24:18 +00:00
make None the first enum type
This commit is contained in:
parent
6ac6f39894
commit
1faf3d21d4
@ -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) {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user