diff --git a/include/fmt/format.h b/include/fmt/format.h index 80074f12..fe74db64 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -2203,7 +2203,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('0'); + const Char zero = static_cast('0'); auto sign = fspecs.sign; size_t size = to_unsigned(significand_size) + (sign ? 1 : 0); using iterator = reserve_iterator;