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));