From 270480db688b60dc77873ec662e317b52f17e7bc Mon Sep 17 00:00:00 2001 From: friedkeenan Date: Thu, 20 Nov 2025 13:30:10 -0600 Subject: [PATCH] Make FMT_STRING redundant when FMT_USE_CONSTEVAL is enabled --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 8c6d0451..c474173e 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -4231,7 +4231,7 @@ class format_int { inline auto str() const -> std::string { return {str_, size()}; } }; -#if FMT_CLANG_ANALYZER +#if FMT_USE_CONSTEVAL || FMT_CLANG_ANALYZER # define FMT_STRING_IMPL(s, base) s #else # define FMT_STRING_IMPL(s, base) \