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; }