chore: Arch::time explictly convert to double on return
This commit is contained in:
parent
2421a8b725
commit
0474e10b03
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue