class -> typename

This commit is contained in:
Victor Zverovich
2023-02-18 10:23:42 -08:00
parent 1741e90dec
commit 507c3042d8
5 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ inline std::tm localtime(std::time_t time) {
}
#if FMT_USE_LOCAL_TIME
template <class Duration>
template <typename Duration>
inline auto localtime(std::chrono::local_time<Duration> time) -> std::tm {
return localtime(std::chrono::system_clock::to_time_t(
std::chrono::current_zone()->to_sys(time)));