Reduce conditional compilation

This commit is contained in:
Dimitrij Mijoski authored and Victor Zverovich committed 2022-08-09 09:05:01 -07:00
1 parent d9c1c7353a
commit 8bd02e93b2
1 file changed
-4
-4
View File
@@ -189,13 +189,9 @@ struct fallback_formatter<T, Char, enable_if_t<is_streamable<T, Char>::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