Require explicit inequality as well as equality operators on evalvalues
This commit is contained in:
@@ -60,6 +60,10 @@ namespace Porygon::UserData {
|
||||
return b->GetHashCode() == _hash;
|
||||
}
|
||||
|
||||
bool operator!=(const EvalValue *b) const override {
|
||||
return !operator==(b);
|
||||
}
|
||||
|
||||
[[nodiscard]] EvalValue* Clone() const final{
|
||||
return new UserDataCollectionValue(_type, _helper, _hash);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user