@@ -266,8 +266,7 @@ class text_style {
266
266
FMT_CONSTEXPR text_style (emphasis em = emphasis()) FMT_NOEXCEPT
267
267
: set_foreground_color(), set_background_color(), ems(em) {}
268
268
269
- FMT_CONSTEXPR_DECL
270
- text_style &operator |=(const text_style &rhs) FMT_NOEXCEPT {
269
+ FMT_CONSTEXPR text_style &operator |=(const text_style &rhs) {
271
270
if (!set_foreground_color) {
272
271
set_foreground_color = rhs.set_foreground_color ;
273
272
foreground_color = rhs.foreground_color ;
@@ -292,11 +291,11 @@ class text_style {
292
291
}
293
292
294
293
friend FMT_CONSTEXPR
295
- text_style operator |(text_style lhs, const text_style &rhs) FMT_NOEXCEPT {
294
+ text_style operator |(text_style lhs, const text_style &rhs) {
296
295
return lhs |= rhs;
297
296
}
298
297
299
- FMT_CONSTEXPR text_style &operator &=(const text_style &rhs) FMT_NOEXCEPT {
298
+ FMT_CONSTEXPR text_style &operator &=(const text_style &rhs) {
300
299
if (!set_foreground_color) {
301
300
set_foreground_color = rhs.set_foreground_color ;
302
301
foreground_color = rhs.foreground_color ;
@@ -321,7 +320,7 @@ class text_style {
321
320
}
322
321
323
322
friend FMT_CONSTEXPR
324
- text_style operator &(text_style lhs, const text_style &rhs) FMT_NOEXCEPT {
323
+ text_style operator &(text_style lhs, const text_style &rhs) {
325
324
return lhs &= rhs;
326
325
}
327
326
@@ -390,7 +389,8 @@ namespace internal {
390
389
391
390
template <typename Char>
392
391
struct ansi_color_escape {
393
- FMT_CONSTEXPR ansi_color_escape (internal::color_type text_color, const char * esc) FMT_NOEXCEPT {
392
+ FMT_CONSTEXPR ansi_color_escape (internal::color_type text_color,
393
+ const char * esc) FMT_NOEXCEPT {
394
394
// If we have a terminal color, we need to output another escape code
395
395
// sequence.
396
396
if (!text_color.is_rgb ) {
0 commit comments