Fix warning C4702 emitted from format.h (MSVC) (#3866)

This commit is contained in:
Baardi 2024-02-28 16:47:13 +01:00 committed by GitHub
parent f68f452dea
commit ae1e93d34d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2218,7 +2218,6 @@ FMT_CONSTEXPR FMT_INLINE auto write_int(OutputIt out, write_int_arg<T> arg,
case presentation_type::chr:
return write_char<Char>(out, static_cast<Char>(abs_value), specs);
}
return out;
}
template <typename Char, typename OutputIt, typename T>
FMT_CONSTEXPR FMT_NOINLINE auto write_int_noinline(OutputIt out,