figments: input: implement InputEvent::operator!=

This commit is contained in:
Torrie Fischer 2023-12-11 07:48:33 +01:00
parent c91757308d
commit 3e5cead5ff

View File

@ -114,6 +114,10 @@ struct InputEvent: public Variant {
InputEvent()
: Variant(), intent(None) {}
bool operator!=(const InputEvent::Intent& otherIntent) {
return intent != otherIntent;
}
Intent intent;
};