Make clang happy, fix VS 2022 generator name

This commit is contained in:
Charless Milette
2021-11-13 12:08:01 -05:00
parent 89c4b1aabe
commit 48e35f9c3e
2 changed files with 2 additions and 2 deletions

View File

@@ -57,7 +57,7 @@ inline void append_int(T n, memory_buf_t &dest)
#endif
template<typename T>
SPDLOG_CONSTEXPR unsigned int count_digits_fallback(T n)
SPDLOG_CONSTEXPR_FUNC unsigned int count_digits_fallback(T n)
{
// taken from fmt.
unsigned int count = 1;