From b72a5d67233016b73a69bd46a996c195fbd19b79 Mon Sep 17 00:00:00 2001 From: Marcel Breyer Date: Thu, 9 Jan 2025 09:25:45 +0100 Subject: [PATCH] Add parameter to the fallback to_sys function. --- include/fmt/chrono.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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