mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-27 12:49:46 +01:00
Remove nonstandard alias
This commit is contained in:
@@ -1020,11 +1020,11 @@ template <typename OutputIt, typename Char> class generic_context {
|
||||
public:
|
||||
using char_type = Char;
|
||||
using iterator = OutputIt;
|
||||
using format_args = basic_format_args<generic_context>;
|
||||
using parse_context_type = basic_format_parse_context<Char>;
|
||||
template <typename T> using formatter_type = formatter<T, Char>;
|
||||
|
||||
constexpr generic_context(OutputIt out, format_args ctx_args,
|
||||
constexpr generic_context(OutputIt out,
|
||||
basic_format_args<generic_context> ctx_args,
|
||||
detail::locale_ref loc = {})
|
||||
: out_(out), args_(ctx_args), loc_(loc) {}
|
||||
generic_context(generic_context&&) = default;
|
||||
@@ -1040,7 +1040,9 @@ template <typename OutputIt, typename Char> class generic_context {
|
||||
FMT_CONSTEXPR auto arg_id(basic_string_view<Char> name) -> int {
|
||||
return args_.get_id(name);
|
||||
}
|
||||
auto args() const -> const format_args& { return args_; }
|
||||
auto args() const -> const basic_format_args<generic_context>& {
|
||||
return args_;
|
||||
}
|
||||
|
||||
void on_error(const char* message) { throw_format_error(message); }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user