diff --git a/include/spdlog/details/pattern_formatter_impl.h b/include/spdlog/details/pattern_formatter_impl.h index 2dd67863..f252b227 100644 --- a/include/spdlog/details/pattern_formatter_impl.h +++ b/include/spdlog/details/pattern_formatter_impl.h @@ -417,7 +417,7 @@ private: class custom_formatter SPDLOG_FINAL:public flag_formatter { public: - explicit custom_formatter(char flag) : _flag(_flag) + explicit custom_formatter(char flag) : _flag(flag) {} void format(details::log_msg& msg, const std::tm&) override {