mirror of https://github.com/axmolengine/axmol.git
Change NULL to nullptr
This commit is contained in:
parent
69a4a438bb
commit
a01f31c75c
|
@ -164,7 +164,7 @@ double gettime()
|
||||||
long long getTimeInMilliseconds()
|
long long getTimeInMilliseconds()
|
||||||
{
|
{
|
||||||
struct timeval tv;
|
struct timeval tv;
|
||||||
gettimeofday (&tv, NULL);
|
gettimeofday (&tv, nullptr);
|
||||||
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
return tv.tv_sec * 1000 + tv.tv_usec / 1000;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue