Base: modernize C++11

* use nullptr
This commit is contained in:
wmayer
2022-03-23 16:57:25 +01:00
parent 6cf4b71b0f
commit 882e34f2ce
9 changed files with 17 additions and 17 deletions

View File

@@ -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)