mirror of
https://github.com/deskflow/deskflow.git
synced 2026-07-13 21:13:31 +08:00
chore: Arch::time explictly convert to double on return
This commit is contained in:
parent
2421a8b725
commit
0474e10b03
@ -57,5 +57,5 @@ double Arch::time()
|
||||
{
|
||||
auto sinceEpoch = std::chrono::steady_clock::now().time_since_epoch();
|
||||
auto uSecSinceEpoch = std::chrono::duration_cast<std::chrono::microseconds>(sinceEpoch).count();
|
||||
return uSecSinceEpoch / 1000000.0;
|
||||
return double(uSecSinceEpoch / 1000000);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user