Browse Source

WeakReference: Remove ambiguous operator==

v7.0.9
reuk 3 years ago
parent
commit
2336430fea
No known key found for this signature in database GPG Key ID: 9ADCD339CFC98A11
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      modules/juce_core/memory/juce_WeakReference.h

+ 0
- 3
modules/juce_core/memory/juce_WeakReference.h 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!


Loading…
Cancel
Save