fix readability-identifier-length
This commit is contained in:
@@ -59,10 +59,10 @@ TimeInfo::~TimeInfo() = default;
|
||||
void TimeInfo::setCurrent()
|
||||
{
|
||||
#if defined(FC_OS_BSD) || defined(FC_OS_LINUX) || defined(__MINGW32__)
|
||||
struct timeval t;
|
||||
gettimeofday(&t, nullptr);
|
||||
timebuffer.time = t.tv_sec;
|
||||
timebuffer.millitm = t.tv_usec / 1000;
|
||||
struct timeval tv;
|
||||
gettimeofday(&tv, nullptr);
|
||||
timebuffer.time = tv.tv_sec;
|
||||
timebuffer.millitm = tv.tv_usec / 1000;
|
||||
#elif defined(FC_OS_WIN32)
|
||||
_ftime(&timebuffer);
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user