fix: make nested_formatter constexpr default constructible
This commit is contained in:
parent
502f2b8949
commit
40524a3595
@ -4224,6 +4224,8 @@ struct nested_formatter {
|
|||||||
formatter<T> formatter_;
|
formatter<T> formatter_;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
constexpr nested_formatter() : width_(0), align_(align_t::none) {}
|
||||||
|
|
||||||
FMT_CONSTEXPR auto parse(format_parse_context& ctx) -> const char* {
|
FMT_CONSTEXPR auto parse(format_parse_context& ctx) -> const char* {
|
||||||
auto specs = detail::dynamic_format_specs<char>();
|
auto specs = detail::dynamic_format_specs<char>();
|
||||||
auto it = parse_format_specs(
|
auto it = parse_format_specs(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user