1
0
Fork 0
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:
ed 2019-02-11 15:45:14 +00:00
parent 8f25833649
commit 9762e29007

View file

@ -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. */