Update ccUtils.cpp

This commit is contained in:
zii 2014-08-04 15:18:01 +08:00
parent 825209dd04
commit e151795c43
1 changed files with 2 additions and 2 deletions

View File

@ -187,11 +187,11 @@ double atof(const char* str)
double gettime() double gettime()
{ {
struct timeval tv; struct timeval tv;
gettimeofday(&tv, NULL); gettimeofday(&tv, nullptr);
return (double)tv.tv_sec + (double)tv.tv_usec/1000000; return (double)tv.tv_sec + (double)tv.tv_usec/1000000;
} }
} }
NS_CC_END NS_CC_END