From 4b6b32f3884b41c9e13467bf9b0e3022a4d84f1e Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 31 Jan 2024 18:10:52 -0800 Subject: [PATCH] Deprecate wide stream function --- include/fmt/xchar.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/include/fmt/xchar.h b/include/fmt/xchar.h index eed501c7..1e787508 100644 --- a/include/fmt/xchar.h +++ b/include/fmt/xchar.h @@ -294,13 +294,14 @@ inline auto format(const text_style& ts, wformat_string fmt, T&&... args) } template -void print(std::FILE* f, const text_style& ts, wformat_string fmt, - const T&... args) { +FMT_DEPRECATED void print(std::FILE* f, const text_style& ts, + wformat_string fmt, const T&... args) { vprint(f, ts, fmt, fmt::make_wformat_args(args...)); } template -void print(const text_style& ts, wformat_string fmt, const T&... args) { +FMT_DEPRECATED void print(const text_style& ts, wformat_string fmt, + const T&... args) { return print(stdout, ts, fmt, args...); }