Suppress a warning

This commit is contained in:
Victor Zverovich 2022-01-05 09:41:35 -08:00
parent 98cbb6a43c
commit dbbd711f46

View File

@ -520,7 +520,7 @@ FMT_CONSTEXPR inline auto utf8_decode(const char* s, uint32_t* c, int* e)
return next;
}
enum { invalid_code_point = ~uint32_t() };
constexpr uint32_t invalid_code_point = ~uint32_t();
// Invokes f(cp, sv) for every code point cp in s with sv being the string view
// corresponding to the code point. cp is invalid_code_point on error.