Revert "Fix SVACE issue" 07/233207/1 accepted/tizen/5.5/unified/20200513.143945 submit/tizen_5.5/20200513.062157
authorSeungho, Baek <sbsh.baek@samsung.com>
Wed, 13 May 2020 03:21:07 +0000 (12:21 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Wed, 13 May 2020 03:28:04 +0000 (12:28 +0900)
This reverts commit 23495f040e131cec575a6a2e9333ee6df270f973.

Change-Id: Iefbfa5f59a526f5ad785795839cc155d0b13c876

dali/public-api/object/any.h

index 0dbf325..b093822 100644 (file)
@@ -183,9 +183,8 @@ public:
     else if( mContainer->GetType() != typeid( Type ) ) // Check if the value has the same value than the Any type.
     {
       AssertAlways( "Any::Get(). Trying to retrieve a value of a different type than the template one." );
-      return static_cast< AnyContainerImpl< Type >* >( mContainer )->GetValue();
     }
-    return NULL;
+    return static_cast< AnyContainerImpl< Type >* >( mContainer )->GetValue();
   }
 
   /**