Deprecate buffered_file::fileno

This commit is contained in:
Victor Zverovich 2022-01-12 10:54:44 -08:00
parent 2a09d468da
commit 7c12118c19

View File

@ -265,6 +265,7 @@ class buffered_file {
// We place parentheses around fileno to workaround a bug in some versions // We place parentheses around fileno to workaround a bug in some versions
// of MinGW that define fileno as a macro. // of MinGW that define fileno as a macro.
// DEPRECATED! Rename to descriptor to avoid issues with macros.
FMT_API int(fileno)() const; FMT_API int(fileno)() const;
void vprint(string_view format_str, format_args args) { void vprint(string_view format_str, format_args args) {