1
0
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:
ζeh Matt
2021-11-24 19:31:44 +02:00
parent c58f96c029
commit 63702fcc6f

View File

@@ -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;
}
};