mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 09:51:57 -05:00
AK: And one more RetainPtr::operator==() G++ complains about in LibGUI.
This commit is contained in:
parent
b985d0ec6e
commit
e001954193
1 changed files with 3 additions and 0 deletions
|
@ -125,6 +125,9 @@ public:
|
|||
bool operator==(const RetainPtr& other) const { return m_ptr == other.m_ptr; }
|
||||
bool operator!=(const RetainPtr& other) const { return m_ptr != other.m_ptr; }
|
||||
|
||||
bool operator==(RetainPtr& other) { return m_ptr == other.m_ptr; }
|
||||
bool operator!=(RetainPtr& other) { return m_ptr != other.m_ptr; }
|
||||
|
||||
bool operator==(const T* other) const { return m_ptr == other; }
|
||||
bool operator!=(const T* other) const { return m_ptr != other; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue