From c984df981553cbbf7ef3cf46fef922fd93ebb48f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 8 May 2023 13:35:23 -0700 Subject: [PATCH] Remove an unused function from internal class --- include/fmt/chrono.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index bbee4aaf..55e8a506 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -1360,8 +1360,6 @@ class tm_writer { OutputIt out() const { return out_; } - const std::locale& locale() const { return loc_; } - FMT_CONSTEXPR void on_text(const Char* begin, const Char* end) { out_ = copy_str(begin, end, out_); } @@ -1640,7 +1638,8 @@ struct chrono_format_checker : null_chrono_spec_handler { FMT_CONSTEXPR void on_duration_unit() {} }; -template ::value && has_isfinite::value)> +template ::value&& has_isfinite::value)> inline bool isfinite(T) { return true; }