diff --git a/include/fmt/format.h b/include/fmt/format.h index 30addcb7..43333961 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -4224,6 +4224,8 @@ struct nested_formatter { formatter formatter_; public: + constexpr nested_formatter() : width_(0), align_(align_t::none) {} + FMT_CONSTEXPR auto parse(format_parse_context& ctx) -> const char* { auto specs = detail::dynamic_format_specs(); auto it = parse_format_specs(