mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-21 01:24:21 +00:00
Deleted some var constructors that take a const ReferenceCountedObject* and were resolving to the wrong type
This commit is contained in:
parent
8f25833649
commit
9762e29007
1 changed files with 4 additions and 0 deletions
|
|
@ -318,6 +318,10 @@ private:
|
|||
|
||||
Array<var>* convertToArray();
|
||||
var (const VariantType&) noexcept;
|
||||
|
||||
// This is needed to prevent the wrong constructor/operator being called
|
||||
var (const ReferenceCountedObject*) = delete;
|
||||
var& operator= (const ReferenceCountedObject*) = delete;
|
||||
};
|
||||
|
||||
/** Compares the values of two var objects, using the var::equals() comparison. */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue