mirror of https://github.com/OpenRCT2/OpenRCT2.git
Implement identifier comparison overloads
This commit is contained in:
parent
c58f96c029
commit
63702fcc6f
|
@ -63,4 +63,14 @@ public:
|
||||||
{
|
{
|
||||||
return _handle != other;
|
return _handle != other;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
constexpr bool operator==(const TIdentifier& other) const noexcept
|
||||||
|
{
|
||||||
|
return _handle == other._handle;
|
||||||
|
}
|
||||||
|
|
||||||
|
constexpr bool operator!=(const TIdentifier& other) const noexcept
|
||||||
|
{
|
||||||
|
return _handle != other._handle;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue