mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-27 04:39:44 +01:00
[msvc] fix warning about non-inline variable
This commit is contained in:
committed by
Victor Zverovich
parent
3c5464ba1c
commit
6e6eb63770
@@ -680,7 +680,7 @@ FMT_CONSTEXPR inline auto utf8_decode(const char* s, uint32_t* c, int* e)
|
||||
return next;
|
||||
}
|
||||
|
||||
constexpr uint32_t invalid_code_point = ~uint32_t();
|
||||
constexpr FMT_INLINE_VARIABLE 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.
|
||||
|
||||
Reference in New Issue
Block a user