From d7f5d315961560458e94960a345437c223cb1134 Mon Sep 17 00:00:00 2001 From: Orvid King <709247+Orvid@users.noreply.github.com> Date: Wed, 28 Dec 2022 19:32:33 -0800 Subject: [PATCH] Update core.h --- include/fmt/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index f30b66da..f194a4dc 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -395,7 +395,7 @@ FMT_CONSTEXPR auto to_unsigned(Int value) -> return static_cast::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).