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