diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 76bbb909058b..775280b5222f 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -261,7 +261,8 @@ namespace detail { using utc_clock = std::chrono::utc_clock; #else struct utc_clock { - void to_sys(); + template + void to_sys(T); }; #endif