From 3899e8a560d597ec9fead5657c03e47335e1565a Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 21 May 2017 01:54:21 +0300 Subject: [PATCH] fixed compilation warning --- include/spdlog/details/pattern_formatter_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/pattern_formatter_impl.h b/include/spdlog/details/pattern_formatter_impl.h index 27c43c75..92e90714 100644 --- a/include/spdlog/details/pattern_formatter_impl.h +++ b/include/spdlog/details/pattern_formatter_impl.h @@ -95,7 +95,7 @@ class a_formatter:public flag_formatter // message counter formatter class i_formatter SPDLOG_FINAL:public flag_formatter { - void format(details::log_msg& msg, const std::tm& tm_time) override + void format(details::log_msg& msg, const std::tm&) override { msg.formatted << '#' << msg.msg_id; }