AK: Add RetainPtr::operator==() overload G++ is whining about.

This commit is contained in:
Andreas Kling 2019-04-19 21:34:47 +02:00
parent 77418c1942
commit b985d0ec6e

View file

@ -128,6 +128,9 @@ public:
bool operator==(const T* other) const { return m_ptr == other; }
bool operator!=(const T* other) const { return m_ptr != other; }
bool operator==(T* other) { return m_ptr == other; }
bool operator!=(T* other) { return m_ptr != other; }
bool is_null() const { return !m_ptr; }
private: