summaryrefslogtreecommitdiff
path: root/xpcom/glue/nsTextFormatter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xpcom/glue/nsTextFormatter.cpp')
-rw-r--r--xpcom/glue/nsTextFormatter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpcom/glue/nsTextFormatter.cpp b/xpcom/glue/nsTextFormatter.cpp
index 96cd85712d..1c3f60fb90 100644
--- a/xpcom/glue/nsTextFormatter.cpp
+++ b/xpcom/glue/nsTextFormatter.cpp
@@ -352,14 +352,14 @@ cvt_f(SprintfState* aState, double aDouble, int aWidth, int aPrec,
break;
case 'E':
exp = 'E';
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case 'e':
numdigits = aPrec + 1;
mode = 2;
break;
case 'G':
exp = 'E';
- MOZ_FALLTHROUGH;
+ [[fallthrough]];
case 'g':
if (aPrec == 0) {
aPrec = 1;