diff --git a/include/fmt/color.h b/include/fmt/color.h index 2fdfb864..5e4f8194 100644 --- a/include/fmt/color.h +++ b/include/fmt/color.h @@ -252,7 +252,7 @@ struct color_type { value.term_color = term_color; } union color_union { - color_union() : rgb_color(color::black) {} + FMT_CONSTEXPR color_union() FMT_NOEXCEPT : rgb_color(color::black) {} rgb rgb_color; terminal_color term_color; } value;