diff --git a/include/fmt/core.h b/include/fmt/core.h index 4b067c6b..238a1f1b 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -1017,7 +1017,8 @@ class context_base { public: basic_parse_context &parse_context() { return parse_context_; } - basic_format_args args() const { return args_; } + basic_format_args args() const { return args_; } // DEPRECATED! + basic_format_arg arg(unsigned id) const { return args_.get(id); } internal::error_handler error_handler() { return parse_context_.error_handler();