From d61dbcd118e6d1dbdc86354e92f1bf931c2786f8 Mon Sep 17 00:00:00 2001 From: Dimitrij Mijoski Date: Tue, 9 Aug 2022 17:04:45 +0200 Subject: [PATCH] Reduce conditional compilation --- include/fmt/ostream.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/fmt/ostream.h b/include/fmt/ostream.h index ef22c1ae..c3cdd4a6 100644 --- a/include/fmt/ostream.h +++ b/include/fmt/ostream.h @@ -189,13 +189,9 @@ struct fallback_formatter::value>> inline void vprint_directly(std::ostream& os, string_view format_str, format_args args) { -#ifdef _WIN32 auto buffer = memory_buffer(); detail::vformat_to(buffer, format_str, args); detail::write_buffer(os, buffer); -#else - ignore_unused(os, format_str, args); -#endif } } // namespace detail