mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-27 08:20:53 +08:00
_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?
This commit is contained in:
parent
5c5080d304
commit
18a0455b91
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user