Fixed pattern formatter constructor bug

This commit is contained in:
gabime 2018-11-12 12:46:07 +02:00
parent 9b5b4cd505
commit 314991ac60

View File

@ -871,7 +871,7 @@ public:
// use by default full formatter for if pattern is not given // use by default full formatter for if pattern is not given
explicit pattern_formatter(pattern_time_type time_type = pattern_time_type::local, std::string eol = spdlog::details::os::default_eol) explicit pattern_formatter(pattern_time_type time_type = pattern_time_type::local, std::string eol = spdlog::details::os::default_eol)
: pattern_() : pattern_("%+")
, eol_(std::move(eol)) , eol_(std::move(eol))
, pattern_time_type_(time_type) , pattern_time_type_(time_type)
, last_log_secs_(0) , last_log_secs_(0)