From 5672eb6a6179d63644a462451f1e773d4b2d0fe3 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Thu, 16 Jun 2022 14:21:38 -0700 Subject: [PATCH] stopwatch: change to system_clock test_stopwatch fails on MinGW, most likely because its steady_clock implementation is faulty. --- include/spdlog/stopwatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/stopwatch.h b/include/spdlog/stopwatch.h index 4e62259b..886bdc3b 100644 --- a/include/spdlog/stopwatch.h +++ b/include/spdlog/stopwatch.h @@ -27,7 +27,7 @@ namespace spdlog { class stopwatch { - using clock = std::chrono::steady_clock; + using clock = std::chrono::system_clock; std::chrono::time_point start_tp_; public: