mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04: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
@ -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
Block a user