Fix CallbackBase::Execute assertion to arise in both debug/release build 26/39626/1
authorYoonsang Lee <ysang114.lee@samsung.com>
Wed, 20 May 2015 02:36:18 +0000 (11:36 +0900)
committerYoonsang Lee <ysang114.lee@samsung.com>
Wed, 20 May 2015 02:36:56 +0000 (11:36 +0900)
- DALI_ASSERT_DEBUG -> DALI_ASSERT_ALWAYS
- With DALI_ASSERT_DEBUG, UtcDaliSignalConnectN01() only passes in case
of debug build.
- If an exception is required for null signal callback, it should arise
in both debug / release build.

Change-Id: I2b89889c86da8d8e3336a69377bfbad8e1d0d02b

dali/public-api/signals/callback.h

index 902947b..ed70539 100644 (file)
@@ -76,7 +76,7 @@ public:
     }
     else
     {
-      DALI_ASSERT_DEBUG( 0 && "no function to execute" );
+      DALI_ASSERT_ALWAYS( 0 && "no function to execute" );
     }
   }