diff --git a/headers/private/shared/Referenceable.h b/headers/private/shared/Referenceable.h index 9455866080..d25aac5837 100644 --- a/headers/private/shared/Referenceable.h +++ b/headers/private/shared/Referenceable.h @@ -143,11 +143,21 @@ public: return (fObject == other.fObject); } + bool operator==(const Type* other) const + { + return (fObject == other); + } + bool operator!=(const BReference& other) const { return (fObject != other.fObject); } + bool operator!=(const Type* other) const + { + return (fObject != other); + } + private: Type* fObject; };