Merge pull request #2384 from aengusjiang/v1.x

fix error: cannot bind lvalue to right reference
pull/2385/head
Gabi Melman 3 years ago committed by GitHub
commit fc93ddbefe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1053,7 +1053,7 @@ SPDLOG_INLINE std::unique_ptr<formatter> pattern_formatter::clone() const
}
auto cloned = details::make_unique<pattern_formatter>(pattern_, pattern_time_type_, eol_, std::move(cloned_custom_formatters));
cloned->need_localtime(need_localtime_);
return cloned;
return std::move(cloned);
}
SPDLOG_INLINE void pattern_formatter::format(const details::log_msg &msg, memory_buf_t &dest)

Loading…
Cancel
Save