Fix warning C4189

pull/2338/head
sawich 3 years ago committed by GitHub
parent 76fb40d954
commit cfe1cac089
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1809,7 +1809,7 @@ FMT_CONSTEXPR20 auto do_write_float(OutputIt out, const DecimalFP& fp,
-> OutputIt {
auto significand = fp.significand;
int significand_size = get_significand_size(fp);
constexpr Char zero = static_cast<Char>('0');
FMT_MAYBE_UNUSED constexpr Char zero = static_cast<Char>('0');
auto sign = fspecs.sign;
size_t size = to_unsigned(significand_size) + (sign ? 1 : 0);
using iterator = reserve_iterator<OutputIt>;

Loading…
Cancel
Save