Add constexpr/noexcept for union ctor.
This commit is contained in:
parent
a3a9af06d5
commit
2ed1f9e9cf
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user