figments: input: implement InputEvent::operator!=
This commit is contained in:
parent
c91757308d
commit
3e5cead5ff
@ -114,6 +114,10 @@ struct InputEvent: public Variant {
|
||||
InputEvent()
|
||||
: Variant(), intent(None) {}
|
||||
|
||||
bool operator!=(const InputEvent::Intent& otherIntent) {
|
||||
return intent != otherIntent;
|
||||
}
|
||||
|
||||
Intent intent;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user