mirror of https://gitee.com/bigwinds/arangodb
port fix for NowMicros (#9482)
This commit is contained in:
parent
a52ffb4e34
commit
ae1133e2ad
|
@ -979,8 +979,7 @@ uint64_t WinEnvIO::NowMicros() {
|
|||
return li.QuadPart;
|
||||
}
|
||||
using namespace std::chrono;
|
||||
return duration_cast<microseconds>(
|
||||
high_resolution_clock::now().time_since_epoch()).count();
|
||||
return duration_cast<microseconds>(system_clock::now().time_since_epoch()).count();
|
||||
}
|
||||
|
||||
uint64_t WinEnvIO::NowNanos() {
|
||||
|
|
Loading…
Reference in New Issue