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

Added a get() method to ReferenceCountedObjectPtr.

This commit is contained in:
jules 2012-06-02 08:30:08 +01:00
parent 4cabc9095e
commit 943a8ef757
7 changed files with 35 additions and 15 deletions

View file

@ -704,7 +704,7 @@ bool ValueTree::isEquivalentTo (const ValueTree& other) const
ValueTree ValueTree::createCopy() const
{
return ValueTree (createCopyIfNotNull (object.getObject()));
return ValueTree (createCopyIfNotNull (object.get()));
}
bool ValueTree::hasType (const Identifier& typeName) const