[libc++] Fixes GCC-12 build.

This commit is contained in:
Mark de Wever 2022-06-22 17:26:17 +02:00
parent ff5301dde9
commit 65f44c9218
1 changed files with 10 additions and 8 deletions

View File

@ -1565,14 +1565,16 @@ public:
/// \returns the `__parsed_specifications` with the resolved dynamic sizes..
_LIBCPP_HIDE_FROM_ABI
__parsed_specifications<_CharT> __get_parsed_std_specifications(auto& __ctx) const {
return __parsed_specifications<_CharT>{.__std_{.__alignment_ = __alignment_,
.__sign_ = __sign_,
.__alternate_form_ = __alternate_form_,
.__locale_specific_form_ = __locale_specific_form_,
.__type_ = __type_},
.__width_{__get_width(__ctx)},
.__precision_{__get_precision(__ctx)},
.__fill_{__fill_}};
return __parsed_specifications<_CharT>{
.__std_ =
__std{.__alignment_ = __alignment_,
.__sign_ = __sign_,
.__alternate_form_ = __alternate_form_,
.__locale_specific_form_ = __locale_specific_form_,
.__type_ = __type_},
.__width_{__get_width(__ctx)},
.__precision_{__get_precision(__ctx)},
.__fill_{__fill_}};
}
__alignment __alignment_ : 3 {__alignment::__default};