diff --git a/include/fmt/core.h b/include/fmt/core.h index 06272ff2..1755d1ed 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -2217,8 +2217,6 @@ template struct dynamic_spec { }; }; -struct auto_id {}; - // A format specifier handler that sets fields in basic_format_specs. template class specs_setter { protected: diff --git a/include/fmt/format.h b/include/fmt/format.h index 0cc16743..cc2cad1a 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -3603,20 +3603,6 @@ template class specs_handler : public specs_setter { // This is only needed for compatibility with gcc 4.4. using format_arg = basic_format_arg>; - FMT_CONSTEXPR auto get_arg(auto_id) -> format_arg { - return detail::get_arg(context_, parse_context_.next_arg_id()); - } - - FMT_CONSTEXPR auto get_arg(int arg_id) -> format_arg { - parse_context_.check_arg_id(arg_id); - return detail::get_arg(context_, arg_id); - } - - FMT_CONSTEXPR auto get_arg(basic_string_view arg_id) -> format_arg { - parse_context_.check_arg_id(arg_id); - return detail::get_arg(context_, arg_id); - } - public: FMT_CONSTEXPR specs_handler(basic_format_specs& specs, basic_format_parse_context& parse_ctx,