From 13db9d945232bcc16b86e9acd226d1bd5a70033e Mon Sep 17 00:00:00 2001 From: gabime Date: Tue, 9 Apr 2019 16:46:17 +0300 Subject: [PATCH] Fix build --- include/spdlog/logger.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/logger.h b/include/spdlog/logger.h index 228c857c..58ae20e6 100644 --- a/include/spdlog/logger.h +++ b/include/spdlog/logger.h @@ -166,7 +166,7 @@ public: { fmt::memory_buffer buf; fmt::format_to(buf, "{}", msg); - details::log_msg log_msg(loc, &name_, lvl, lvl, string_view_t(buf.data(), buf.size())); + details::log_msg log_msg(loc, &name_, lvl, string_view_t(buf.data(), buf.size())); sink_it_(log_msg); } catch (const std::exception &ex)