mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
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.
This commit is contained in:
parent
e2b231f4e0
commit
8c22d9ed80
2
r5dev/thirdparty/spdlog/fmt/bundled/core.h
vendored
2
r5dev/thirdparty/spdlog/fmt/bundled/core.h
vendored
@ -3004,7 +3004,7 @@ void check_format_string(S format_str) {
|
||||
FMT_CONSTEXPR auto s = basic_string_view<typename S::char_type>(format_str);
|
||||
using checker = format_string_checker<typename S::char_type, error_handler,
|
||||
remove_cvref_t<Args>...>;
|
||||
FMT_CONSTEXPR bool invalid_format =
|
||||
/*FMT_CONSTEXPR*/bool invalid_format =
|
||||
(parse_format_string<true>(s, checker(s, {})), true);
|
||||
ignore_unused(invalid_format);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user