From 05f32e3de6df6cecbb911a3d8da972c12f7b8201 Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 17 Oct 2012 18:57:09 +0100 Subject: [PATCH] Added a typedef DynamicObject::Ptr --- modules/juce_core/containers/juce_DynamicObject.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;