Deprecate wide stream function

This commit is contained in:
Victor Zverovich 2024-01-31 18:10:52 -08:00
parent 1b54ba4b9d
commit 4b6b32f388

View File

@ -294,13 +294,14 @@ inline auto format(const text_style& ts, wformat_string<T...> fmt, T&&... args)
}
template <typename... T>
void print(std::FILE* f, const text_style& ts, wformat_string<T...> fmt,
const T&... args) {
FMT_DEPRECATED void print(std::FILE* f, const text_style& ts,
wformat_string<T...> fmt, const T&... args) {
vprint(f, ts, fmt, fmt::make_wformat_args(args...));
}
template <typename... T>
void print(const text_style& ts, wformat_string<T...> fmt, const T&... args) {
FMT_DEPRECATED void print(const text_style& ts, wformat_string<T...> fmt,
const T&... args) {
return print(stdout, ts, fmt, args...);
}