From 8c22d9ed80f71404e239ac45a01d1b394dabc783 Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sat, 25 Nov 2023 11:23:19 +0100 Subject: [PATCH] Fix compiler warnings on Visual Studio 2017 Should not be a constexpr, this caused cryptic errors in template code when compiling the code with older compilers. --- r5dev/thirdparty/spdlog/fmt/bundled/core.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r5dev/thirdparty/spdlog/fmt/bundled/core.h b/r5dev/thirdparty/spdlog/fmt/bundled/core.h index f6a37af9..a1752398 100644 --- a/r5dev/thirdparty/spdlog/fmt/bundled/core.h +++ b/r5dev/thirdparty/spdlog/fmt/bundled/core.h @@ -3004,7 +3004,7 @@ void check_format_string(S format_str) { FMT_CONSTEXPR auto s = basic_string_view(format_str); using checker = format_string_checker...>; - FMT_CONSTEXPR bool invalid_format = + /*FMT_CONSTEXPR*/bool invalid_format = (parse_format_string(s, checker(s, {})), true); ignore_unused(invalid_format); }