1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

WeakReference: Remove ambiguous operator==

This commit is contained in:
reuk 2022-10-17 17:15:16 +01:00
parent 978a00bed2
commit 2336430fea
No known key found for this signature in database
GPG key ID: 9ADCD339CFC98A11

View file

@ -116,9 +116,6 @@ public:
*/
bool wasObjectDeleted() const noexcept { return holder != nullptr && holder->get() == nullptr; }
bool operator== (ObjectType* object) const noexcept { return get() == object; }
bool operator!= (ObjectType* object) const noexcept { return get() != object; }
//==============================================================================
/** This class is used internally by the WeakReference class - don't use it directly
in your code!