Fixed missing return value in once_a_time class on windows

This commit is contained in:
Markus Behm 2019-01-31 04:56:24 +00:00 committed by italocoin
parent 31bdf7bd11
commit c0e9e80581

View File

@ -243,6 +243,7 @@ namespace math_helper
present = present << 32; present = present << 32;
present |= fileTime.dwLowDateTime; present |= fileTime.dwLowDateTime;
present /= 10; // mic-sec present /= 10; // mic-sec
return present;
#else #else
struct timeval tv; struct timeval tv;
gettimeofday(&tv, NULL); gettimeofday(&tv, NULL);