mirror of
https://github.com/gabime/spdlog.git
synced 2025-01-12 17:00:25 +08:00
Fix #1676
This commit is contained in:
parent
9cd25dd216
commit
5deb7c55e1
@ -5,7 +5,7 @@
|
||||
|
||||
#include <spdlog/fmt/fmt.h>
|
||||
|
||||
// Stopwatch support for spdlog (using std::chrono::high_resolution_clock).
|
||||
// Stopwatch support for spdlog (using std::chrono::steady_clock).
|
||||
// Displays elapsed seconds since construction as double.
|
||||
//
|
||||
// Usage:
|
||||
@ -27,7 +27,7 @@
|
||||
namespace spdlog {
|
||||
class stopwatch
|
||||
{
|
||||
using clock = std::chrono::high_resolution_clock;
|
||||
using clock = std::chrono::steady_clock;
|
||||
std::chrono::time_point<clock> start_tp_;
|
||||
|
||||
public:
|
||||
|
Loading…
Reference in New Issue
Block a user