Commit 18a0455b authored by ThePhD's avatar ThePhD

_pattern was never set... but it was also never used. Intentional by @gabime,...

_pattern was never set... but it was also never used. Intentional by @gabime, or a reflection of a refactor with some data member left behind?
parent 5c5080d3
......@@ -503,9 +503,9 @@ class full_formatter SPDLOG_FINAL:public flag_formatter
// pattern_formatter inline impl
///////////////////////////////////////////////////////////////////////////////
inline spdlog::pattern_formatter::pattern_formatter(const std::string& pattern, pattern_time ptime)
: _time(ptime), _pattern(pattern)
: _time(ptime)
{
compile_pattern(_pattern, _time);
compile_pattern(pattern, _time);
}
inline void spdlog::pattern_formatter::compile_pattern(const std::string& pattern, pattern_time ptime)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment