From: Andrzej Popowski Date: Mon, 6 Jul 2015 09:49:17 +0000 (+0200) Subject: [Badge] - Removing the macro assert() X-Git-Tag: submit/tizen/20150702.103311^2~1^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf70e69e9509c15fef919b78e85273a7ecf0fba9;p=platform%2Fcore%2Fapi%2Fwebapi-plugins.git [Badge] - Removing the macro assert() Change-Id: I850b215c6d0d4da13b1374370fc55790f577efc4 Signed-off-by: Andrzej Popowski --- diff --git a/src/badge/badge_manager.cc b/src/badge/badge_manager.cc index d491f9b6..f7962c68 100755 --- a/src/badge/badge_manager.cc +++ b/src/badge/badge_manager.cc @@ -25,6 +25,7 @@ #include #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;