From e151795c43e6b95dd22877c83c156af031805c49 Mon Sep 17 00:00:00 2001 From: zii Date: Mon, 4 Aug 2014 15:18:01 +0800 Subject: [PATCH] Update ccUtils.cpp --- cocos/base/ccUtils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cocos/base/ccUtils.cpp b/cocos/base/ccUtils.cpp index 83ef4a583d..b304b95751 100644 --- a/cocos/base/ccUtils.cpp +++ b/cocos/base/ccUtils.cpp @@ -187,11 +187,11 @@ double atof(const char* str) double gettime() { struct timeval tv; - gettimeofday(&tv, NULL); + gettimeofday(&tv, nullptr); return (double)tv.tv_sec + (double)tv.tv_usec/1000000; } - + } NS_CC_END