From 73cfd8f3258628d332d27268b7b4af1c370f1909 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 25 Oct 2018 17:18:46 -0700 Subject: [PATCH] Fix colored print --- include/fmt/color.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/color.h b/include/fmt/color.h index 1d4ab19a..4d7193ce 100644 --- a/include/fmt/color.h +++ b/include/fmt/color.h @@ -314,7 +314,7 @@ template typename std::enable_if::value>::type print(rgb fd, rgb bg, const String &format_str, const Args & ... args) { internal::check_format_string(format_str); - typedef typename internal::is_string::char_type char_t; + typedef typename internal::char_t::type char_t; typedef typename buffer_context::type context_t; format_arg_store as{args...}; vprint_rgb(fd, bg, format_str, basic_format_args(as));