From 8b1387a9c317105ddb5a8ec33a912dd788cd7655 Mon Sep 17 00:00:00 2001 From: Nicolas Lesser Date: Tue, 4 Dec 2018 11:55:45 +0100 Subject: [PATCH] Fix typo and build error. --- include/fmt/color.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/fmt/color.h b/include/fmt/color.h index a5add5eb..e508e5e1 100644 --- a/include/fmt/color.h +++ b/include/fmt/color.h @@ -194,7 +194,7 @@ enum class color : uint32_t { enum class emphasis : uint8_t { bold = 1, - underline = 4, + underline = 4 }; // enum class emphasis // rgb is a struct for red, green and blue colors. @@ -408,13 +408,13 @@ typename std::enable_if::value>::type print( */ template typename std::enable_if::value>::type print( - emphasis em, rgb fg, rgb bg, const String &format_str, + emphasis em, rgb fd, rgb bg, const String &format_str, const Args &... args) { internal::check_format_string(format_str); typedef typename internal::char_t::type char_t; typedef typename buffer_context::type context_t; format_arg_store as{args...}; - vprint_emphasis(em, fg, bg, format_str, basic_format_args(as)); + vprint_emphasis(em, fd, bg, format_str, basic_format_args(as)); } #endif