diff --git a/include/fmt/core.h b/include/fmt/core.h index e45593b1..e49033a2 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1054,7 +1054,6 @@ template class basic_format_context { // Returns an iterator to the beginning of the output range. iterator out() { return out_; } - FMT_DEPRECATED iterator begin() { return out_; } // Advances the begin iterator to ``it``. void advance_to(iterator it) { out_ = it; } diff --git a/include/fmt/format.h b/include/fmt/format.h index b99a5644..1d58823a 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -915,7 +915,7 @@ enum { SIGN_FLAG = 1, PLUS_FLAG = 2, MINUS_FLAG = 4, HASH_FLAG = 8 }; struct align_spec { unsigned width_; // Fill is always wchar_t and cast to char if necessary to avoid having - // two specialization of AlignSpec and its subclasses. + // two specialization of align_spec and its subclasses. wchar_t fill_; alignment align_; @@ -2589,9 +2589,6 @@ class arg_formatter : public internal::arg_formatter_base { ctx_(ctx), parse_ctx_(parse_ctx) {} - FMT_DEPRECATED arg_formatter(context_type& ctx, format_specs& spec) - : base(Range(ctx.out()), &spec), ctx_(ctx) {} - using base::operator(); /** Formats an argument of a user-defined type. */