From 5ea24cb5133d84c3be15fc50604f8cd86fcc1a6b Mon Sep 17 00:00:00 2001 From: Yoonsang Lee Date: Wed, 20 May 2015 11:36:18 +0900 Subject: [PATCH] Fix CallbackBase::Execute assertion to arise in both debug/release build - 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali/public-api/signals/callback.h b/dali/public-api/signals/callback.h index 902947b..ed70539 100644 --- a/dali/public-api/signals/callback.h +++ b/dali/public-api/signals/callback.h @@ -76,7 +76,7 @@ public: } else { - DALI_ASSERT_DEBUG( 0 && "no function to execute" ); + DALI_ASSERT_ALWAYS( 0 && "no function to execute" ); } } -- 2.7.4