diff --git a/README.rst b/README.rst index feb4ab5e..d5f13a8e 100644 --- a/README.rst +++ b/README.rst @@ -33,6 +33,8 @@ help victims of the war in Ukraine: https://www.stopputin.net/. `Documentation `__ +`Cheat Sheets `__ + Q&A: ask questions on `StackOverflow with the tag fmt `_. 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;