Cleanup unicode checks

This commit is contained in:
Victor Zverovich
2024-05-11 19:43:46 -07:00
parent 3460b30fd5
commit 7d6ae972b9
6 changed files with 16 additions and 19 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ void vprint(std::basic_ostream<Char>& os,
FMT_EXPORT template <typename... T>
void print(std::ostream& os, format_string<T...> fmt, T&&... args) {
const auto& vargs = fmt::make_format_args(args...);
if (detail::is_utf8())
if (detail::use_utf8())
vprint(os, fmt, vargs);
else
detail::vprint_directly(os, fmt, vargs);