From a3a9af06d5040bd1bbce15bdad32d0310191bd76 Mon Sep 17 00:00:00 2001 From: Nicolas Lesser Date: Wed, 12 Dec 2018 17:36:18 +0100 Subject: [PATCH] Fix build failures. --- include/fmt/color.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/color.h b/include/fmt/color.h index c92db38c..2fdfb864 100644 --- a/include/fmt/color.h +++ b/include/fmt/color.h @@ -251,7 +251,8 @@ struct color_type { : is_rgb() { value.term_color = term_color; } - union { + union color_union { + color_union() : rgb_color(color::black) {} rgb rgb_color; terminal_color term_color; } value;