Update core.h

This commit is contained in:
Orvid King 2022-12-28 19:32:33 -08:00 committed by GitHub
parent 31816bd2f6
commit d7f5d31596
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -395,7 +395,7 @@ FMT_CONSTEXPR auto to_unsigned(Int value) ->
return static_cast<typename std::make_unsigned<Int>::type>(value);
}
FMT_CONSTEXPR auto is_utf8() -> bool {
FMT_CONSTEXPR inline auto is_utf8() -> bool {
FMT_MSC_WARNING(suppress : 4566) constexpr unsigned char section[] = "\u00A7";
// Avoid buggy sign extensions in MSVC's constant evaluation mode (#2297).