mirror of https://github.com/axmolengine/axmol.git
Update ccUtils.cpp
This commit is contained in:
parent
825209dd04
commit
e151795c43
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue