Fix overflow error (#3143)

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>

Signed-off-by: Vladislav Shchapov <vladislav@shchapov.ru>
This commit is contained in:
Vladislav Shchapov
2022-10-17 02:04:55 +05:00
committed by GitHub
parent 51d3685efe
commit cd7202e039
2 changed files with 10 additions and 1 deletions

View File

@@ -1838,7 +1838,7 @@ struct chrono_formatter {
} else {
write(second(), 2);
write_fractional_seconds<char_type>(
out, std::chrono::duration<Rep, Period>(val));
out, std::chrono::duration<rep, Period>(val));
}
return;
}