mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 04:23:20 +01:00
Implement identifier comparison overloads
This commit is contained in:
@@ -63,4 +63,14 @@ public:
|
||||
{
|
||||
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;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user