mirror of
https://github.com/fmtlib/fmt.git
synced 2024-11-02 02:29:08 +00:00
Suppress a warning
This commit is contained in:
parent
98cbb6a43c
commit
dbbd711f46
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user