Get rid of bit fields

This commit is contained in:
Victor Zverovich
2024-08-11 10:28:09 -07:00
parent f8c0c8ee78
commit b906c321f0
8 changed files with 300 additions and 225 deletions
+2 -2
View File
@@ -1732,8 +1732,8 @@ template <typename Char, typename Rep, typename OutputIt,
auto format_duration_value(OutputIt out, Rep val, int precision) -> OutputIt {
auto specs = format_specs();
specs.precision = precision;
specs.type =
precision >= 0 ? presentation_type::fixed : presentation_type::general;
specs.set_type(precision >= 0 ? presentation_type::fixed
: presentation_type::general);
return write<Char>(out, val, specs);
}