Merge "Make mTargetSizeDirtyFlag true when Animation changes Actor's Size" into devel...
[platform/core/uifw/dali-core.git] / dali / public-api / animation / constraint.h
index 5a487ac..6bdcb7c 100644 (file)
@@ -170,12 +170,12 @@ public:
     CallbackBase* Clone()
     {
       CallbackBase* callback = nullptr;
-      if(mImpl && mImpl->mObjectPointer && mCopyConstructorDispatcher)
+      if(mImpl.mObjectPointer && mCopyConstructorDispatcher)
       {
-        callback = new Function(mCopyConstructorDispatcher(reinterpret_cast<UndefinedClass*>(mImpl->mObjectPointer)) /* Copy the object */,
+        callback = new Function(mCopyConstructorDispatcher(reinterpret_cast<UndefinedClass*>(mImpl.mObjectPointer)) /* Copy the object */,
                                 mMemberFunction,
-                                mImpl->mMemberFunctionDispatcher,
-                                mImpl->mDestructorDispatcher,
+                                mImpl.mMemberFunctionDispatcher,
+                                mImpl.mDestructorDispatcher,
                                 mCopyConstructorDispatcher);
       }
       else