mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 01:07:35 +00: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…
Add table
Add a link
Reference in a new issue