[Badge] - Removing the macro assert()
authorAndrzej Popowski <a.popowski@samsung.com>
Mon, 6 Jul 2015 09:49:17 +0000 (11:49 +0200)
committerHyunJin Park <hj.na.park@samsung.com>
Tue, 7 Jul 2015 07:45:57 +0000 (16:45 +0900)
Change-Id: I850b215c6d0d4da13b1374370fc55790f577efc4
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
src/badge/badge_manager.cc

index d491f9b63f9e121072f2af55d4fda45fc04fae3c..f7962c684ae3d4b7c95dfa2354ce272b3df56327 100755 (executable)
@@ -25,6 +25,7 @@
 #include <unistd.h>
 
 #include "badge/badge_instance.h"
+#include "common/assert.h"
 #include "common/logger.h"
 #include "common/converter.h"
 #include "common/platform_exception.h"
@@ -119,7 +120,7 @@ PlatformResult BadgeManager::SetBadgeCount(const std::string& app_id,
 PlatformResult BadgeManager::GetBadgeCount(const std::string& app_id,
                                            unsigned int *count) {
   LoggerD("Enter");
-  assert(count);
+  Assert(count);
 
   int ret = BADGE_ERROR_SERVICE_NOT_READY;
   bool badge_exist = false;