mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-29 16:21:29 +00:00
AK: And one more RetainPtr::operator==() G++ complains about in LibGUI.
This commit is contained in:
parent
b985d0ec6e
commit
e001954193
Notes:
sideshowbarker
2024-07-19 14:39:20 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e0019541934
|
@ -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