Change-Id: Iebcc0899c7ae8d7f0dd1b6d86862dbfa6f229220
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
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 static_cast< AnyContainerImpl< Type >* >( mContainer )->GetValue();
+ return NULL;
}
/**