Base: modernize C++11
* use nullptr
This commit is contained in:
@@ -62,7 +62,7 @@ void TimeInfo::setCurrent()
|
||||
{
|
||||
#if defined (FC_OS_BSD) || defined(FC_OS_LINUX) || defined(__MINGW32__)
|
||||
struct timeval t;
|
||||
gettimeofday(&t, NULL);
|
||||
gettimeofday(&t, nullptr);
|
||||
timebuffer.time = t.tv_sec;
|
||||
timebuffer.millitm = t.tv_usec / 1000;
|
||||
#elif defined(FC_OS_WIN32)
|
||||
|
||||
Reference in New Issue
Block a user