Skip to content

Commit c984df9

Browse files
committed
Remove an unused function from internal class
1 parent fbf21ed commit c984df9

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

include/fmt/chrono.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1360,8 +1360,6 @@ class tm_writer {
13601360

13611361
OutputIt out() const { return out_; }
13621362

1363-
const std::locale& locale() const { return loc_; }
1364-
13651363
FMT_CONSTEXPR void on_text(const Char* begin, const Char* end) {
13661364
out_ = copy_str<Char>(begin, end, out_);
13671365
}
@@ -1640,7 +1638,8 @@ struct chrono_format_checker : null_chrono_spec_handler<chrono_format_checker> {
16401638
FMT_CONSTEXPR void on_duration_unit() {}
16411639
};
16421640

1643-
template <typename T, FMT_ENABLE_IF(std::is_integral<T>::value && has_isfinite<T>::value)>
1641+
template <typename T,
1642+
FMT_ENABLE_IF(std::is_integral<T>::value&& has_isfinite<T>::value)>
16441643
inline bool isfinite(T) {
16451644
return true;
16461645
}

0 commit comments

Comments
 (0)