@@ -693,7 +693,7 @@ enum class pad_type {
693
693
template <typename OutputIt>
694
694
auto write_padding (OutputIt out, pad_type pad, int width) -> OutputIt {
695
695
if (pad == pad_type::none) return out;
696
- return std ::fill_n (out, width, pad == pad_type::space ? ' ' : ' 0' );
696
+ return detail ::fill_n (out, width, pad == pad_type::space ? ' ' : ' 0' );
697
697
}
698
698
699
699
template <typename OutputIt>
@@ -1149,14 +1149,14 @@ void write_fractional_seconds(OutputIt& out, Duration d, int precision = -1) {
1149
1149
if (std::ratio_less<typename subsecond_precision::period,
1150
1150
std::chrono::seconds::period>::value) {
1151
1151
*out++ = ' .' ;
1152
- out = std ::fill_n (out, leading_zeroes, ' 0' );
1152
+ out = detail ::fill_n (out, leading_zeroes, ' 0' );
1153
1153
out = format_decimal<Char>(out, n, num_digits).end ;
1154
1154
}
1155
1155
} else if (precision > 0 ) {
1156
1156
*out++ = ' .' ;
1157
1157
leading_zeroes = (std::min)(leading_zeroes, precision);
1158
1158
int remaining = precision - leading_zeroes;
1159
- out = std ::fill_n (out, leading_zeroes, ' 0' );
1159
+ out = detail ::fill_n (out, leading_zeroes, ' 0' );
1160
1160
if (remaining < num_digits) {
1161
1161
int num_truncated_digits = num_digits - remaining;
1162
1162
n /= to_unsigned (detail::pow10 (to_unsigned (num_truncated_digits)));
@@ -1169,7 +1169,7 @@ void write_fractional_seconds(OutputIt& out, Duration d, int precision = -1) {
1169
1169
out = format_decimal<Char>(out, n, num_digits).end ;
1170
1170
remaining -= num_digits;
1171
1171
}
1172
- out = std ::fill_n (out, remaining, ' 0' );
1172
+ out = detail ::fill_n (out, remaining, ' 0' );
1173
1173
}
1174
1174
}
1175
1175
@@ -1320,7 +1320,8 @@ class tm_writer {
1320
1320
}
1321
1321
uint32_or_64_or_128_t <long long > n = to_unsigned (year);
1322
1322
const int num_digits = count_digits (n);
1323
- if (width > num_digits) out_ = std::fill_n (out_, width - num_digits, ' 0' );
1323
+ if (width > num_digits)
1324
+ out_ = detail::fill_n (out_, width - num_digits, ' 0' );
1324
1325
out_ = format_decimal<Char>(out_, n, num_digits).end ;
1325
1326
}
1326
1327
void write_year (long long year) {
0 commit comments