Skip to content

Commit 1a1b798

Browse files
committed
Use system_clock everywhere for Windows
1 parent 922c87f commit 1a1b798

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbg.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ template <>
461461
inline bool pretty_print(std::ostream& stream, const time&) {
462462
using namespace std::chrono;
463463

464-
const auto now = high_resolution_clock::now();
464+
const auto now = system_clock::now();
465465
const auto us =
466466
duration_cast<microseconds>(now.time_since_epoch()).count() % 1000000;
467467
const auto hms = system_clock::to_time_t(now);

0 commit comments

Comments
 (0)