Fixed missing return value in once_a_time class on windows
This commit is contained in:
parent
31bdf7bd11
commit
c0e9e80581
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue