Get rid of bit fields
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user