mirror of
https://github.com/fmtlib/fmt.git
synced 2025-11-02 15:11:43 +01:00
Make buffer_context an alias template
This commit is contained in:
@@ -643,8 +643,7 @@ struct formatter {
|
||||
FMT_CONSTEXPR typename ParseContext::iterator parse(ParseContext& ctx) {
|
||||
namespace internal = fmt::internal;
|
||||
typedef internal::dynamic_specs_handler<ParseContext> handler_type;
|
||||
auto type =
|
||||
internal::get_type<typename fmt::buffer_context<Char>::type, T>::value;
|
||||
auto type = internal::get_type<fmt::buffer_context<Char>, T>::value;
|
||||
internal::specs_checker<handler_type> handler(handler_type(specs_, ctx),
|
||||
type);
|
||||
auto it = parse_format_specs(ctx.begin(), ctx.end(), handler);
|
||||
|
||||
Reference in New Issue
Block a user