mirror of
https://github.com/fmtlib/fmt.git
synced 2025-02-22 15:39:50 +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;
|
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
|
// 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.
|
// corresponding to the code point. cp is invalid_code_point on error.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user