mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #5113
c0e9e805
Fixed missing return value in once_a_time class on windows (Markus Behm)
This commit is contained in:
commit
4a390d43f8
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue