diff --git a/src/openrct2/core/Identifier.hpp b/src/openrct2/core/Identifier.hpp index 22fe9b0981..a08156e498 100644 --- a/src/openrct2/core/Identifier.hpp +++ b/src/openrct2/core/Identifier.hpp @@ -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; + } };