stopwatch: change to system_clock

test_stopwatch fails on MinGW, most likely because its steady_clock implementation is faulty.
pull/2407/head
Rosen Penev 3 years ago committed by GitHub
parent 298a200f69
commit 5672eb6a61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,7 @@
namespace spdlog { namespace spdlog {
class stopwatch class stopwatch
{ {
using clock = std::chrono::steady_clock; using clock = std::chrono::system_clock;
std::chrono::time_point<clock> start_tp_; std::chrono::time_point<clock> start_tp_;
public: public:

Loading…
Cancel
Save