Fixed clang-tidy warning

This commit is contained in:
gabime 2018-09-27 00:56:19 +03:00
parent 14c0417f3e
commit 8e80081f99

View File

@ -462,7 +462,10 @@ class full_formatter final : public flag_formatter
{ {
void format(const details::log_msg &msg, const std::tm &tm_time, fmt::memory_buffer &dest) override void format(const details::log_msg &msg, const std::tm &tm_time, fmt::memory_buffer &dest) override
{ {
using namespace std::chrono; using std::chrono::duration_cast;
using std::chrono::seconds;
using std::chrono::milliseconds;
#ifndef SPDLOG_NO_DATETIME #ifndef SPDLOG_NO_DATETIME
// cache the date/time part for the next second. // cache the date/time part for the next second.