mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 18:11:33 +08:00
Fixed unused variable warning
This commit is contained in:
parent
19264b8399
commit
4a159ad66d
@ -387,7 +387,7 @@ class pid_formatter SPDLOG_FINAL:public flag_formatter
|
|||||||
// message counter formatter
|
// message counter formatter
|
||||||
class i_formatter SPDLOG_FINAL :public flag_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 << fmt::pad(msg.msg_id, 6, '0');
|
msg.formatted << fmt::pad(msg.msg_id, 6, '0');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user