mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 04:47:34 +00:00
AK: Add RetainPtr::operator==() overload G++ is whining about.
This commit is contained in:
parent
77418c1942
commit
b985d0ec6e
1 changed files with 3 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue