diff --git a/include/spdlog/details/pattern_formatter.h b/include/spdlog/details/pattern_formatter.h index 1f30ddad..4d87bbc0 100644 --- a/include/spdlog/details/pattern_formatter.h +++ b/include/spdlog/details/pattern_formatter.h @@ -463,8 +463,8 @@ class full_formatter final : public flag_formatter void format(const details::log_msg &msg, const std::tm &tm_time, fmt::memory_buffer &dest) override { using std::chrono::duration_cast; - using std::chrono::seconds; using std::chrono::milliseconds; + using std::chrono::seconds; #ifndef SPDLOG_NO_DATETIME diff --git a/include/spdlog/details/thread_pool.h b/include/spdlog/details/thread_pool.h index 965178fb..64dc6a26 100644 --- a/include/spdlog/details/thread_pool.h +++ b/include/spdlog/details/thread_pool.h @@ -146,8 +146,8 @@ public: } } - thread_pool(const thread_pool&) = delete; - thread_pool &operator=(thread_pool &&) = delete ; + thread_pool(const thread_pool &) = delete; + thread_pool &operator=(thread_pool &&) = delete; void post_log(async_logger_ptr &&worker_ptr, const details::log_msg &msg, async_overflow_policy overflow_policy) {