diff --git a/Utils.h b/Utils.h index 6d2aa1fa..7060779c 100644 --- a/Utils.h +++ b/Utils.h @@ -405,7 +405,7 @@ public: // Overloaded operators T& operator *() const { assert(m_pType); return *m_pType; } T* operator ->() const { assert(m_pType); return m_pType; } - bool operator ==(T* rhs) { return (m_pType == p); } + bool operator ==(T* rhs) { return (m_pType == rhs); } bool operator ==(const CSmartPtr& rhs) { return (m_pType == *rhs); } /**