Fixed compile under c++20 and clang 12

pull/2015/head
Gabi Melman 4 years ago committed by GitHub
parent a358a38b84
commit 197c9639bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -55,7 +55,7 @@ inline void pad2(int n, memory_buf_t &dest)
}
else // unlikely, but just in case, let fmt deal with it
{
fmt::format_to(std::back_inserter(dest), "{:02}", n);
fmt::format_to(std::back_inserter(dest), SPDLOG_FMT_RUNTIME("{:02}"), n);
}
}

Loading…
Cancel
Save