diff --git a/include/spdlog/fmt/bin_to_hex.h b/include/spdlog/fmt/bin_to_hex.h index 5393dcac..1e2b054b 100644 --- a/include/spdlog/fmt/bin_to_hex.h +++ b/include/spdlog/fmt/bin_to_hex.h @@ -9,7 +9,7 @@ // // Support for logging binary data as hex -// format flags: +// format flags, any combination of the followng: // {:X} - print in uppercase. // {:s} - don't separate each byte with space. // {:p} - don't print the position on each line start. diff --git a/include/spdlog/stopwatch.h b/include/spdlog/stopwatch.h index b84fb61b..bb976b19 100644 --- a/include/spdlog/stopwatch.h +++ b/include/spdlog/stopwatch.h @@ -5,7 +5,7 @@ #include -// 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 start_tp_; public: