Fixed compile in c++20

pull/3309/head
gabime 9 months ago
parent 48ab964290
commit 40ffca95c0

@ -180,7 +180,7 @@ private:
// common implementation for after templated public api has been resolved to format string and // common implementation for after templated public api has been resolved to format string and
// args // args
template <typename... Args> template <typename... Args>
void log_with_format_(source_loc loc, const level lvl, const format_string_t<Args...> &format_string, const Args &...args) { void log_with_format_(source_loc loc, const level lvl, const format_string_t<Args...> &format_string, Args &&...args) {
assert(should_log(lvl)); assert(should_log(lvl));
try { try {
memory_buf_t buf; memory_buf_t buf;

Loading…
Cancel
Save