[Contact] - Removing the macro assert()
authorAndrzej Popowski <a.popowski@samsung.com>
Mon, 6 Jul 2015 09:50:08 +0000 (11:50 +0200)
committerHyunJin Park <hj.na.park@samsung.com>
Tue, 7 Jul 2015 07:47:14 +0000 (16:47 +0900)
Change-Id: I4c27b66d57e516e2b34eaf4ab6bc13204633ec76
Signed-off-by: Andrzej Popowski <a.popowski@samsung.com>
src/contact/contact_util.cc

index 58ddc57156dc5847ac47844ef19b8f1c297ae20d..d8364a43efd55ab87907ee6b2203c2df4c481161 100755 (executable)
@@ -20,6 +20,7 @@
 #include <string>
 #include <unistd.h>
 #include "common/converter.h"
+#include "common/assert.h"
 #include "common/logger.h"
 
 namespace extension {
@@ -286,7 +287,7 @@ PlatformResult GetNumberOfChildRecord(contacts_record_h contacts_record,
                                       unsigned int property_id,
                                       int* child_count) {
   LoggerD("Enter");
-  assert(child_count);
+  Assert(child_count);
 
   int err = CONTACTS_ERROR_NONE;
   err = contacts_record_get_child_record_count(contacts_record, property_id,