diff --git a/modules/juce_core/containers/juce_DynamicObject.h b/modules/juce_core/containers/juce_DynamicObject.h index d899cb00f7..169b56021d 100644 --- a/modules/juce_core/containers/juce_DynamicObject.h +++ b/modules/juce_core/containers/juce_DynamicObject.h @@ -50,6 +50,8 @@ public: /** Destructor. */ virtual ~DynamicObject(); + typedef ReferenceCountedObjectPtr Ptr; + //============================================================================== /** Returns true if the object has a property with this name. Note that if the property is actually a method, this will return false. @@ -57,7 +59,6 @@ public: virtual bool hasProperty (const Identifier& propertyName) const; /** Returns a named property. - This returns a void if no such property exists. */ virtual var getProperty (const Identifier& propertyName) const;