summaryrefslogtreecommitdiffstats
path: root/dom/bindings
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-20 17:58:02 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-20 17:58:02 +0000
commit5ad0a15f6a60e24fb260e4a0d0d8050e42c33114 (patch)
treeff59ae0bb7acaf15dbdc1c2259ba7921ce461be0 /dom/bindings
parentc1988898f2c7d949d3644d003b9bb89fc8c87720 (diff)
downloadUXP-5ad0a15f6a60e24fb260e4a0d0d8050e42c33114.tar
UXP-5ad0a15f6a60e24fb260e4a0d0d8050e42c33114.tar.gz
UXP-5ad0a15f6a60e24fb260e4a0d0d8050e42c33114.tar.lz
UXP-5ad0a15f6a60e24fb260e4a0d0d8050e42c33114.tar.xz
UXP-5ad0a15f6a60e24fb260e4a0d0d8050e42c33114.zip
Isse #1224 - revert change to unbust debug builds.
Diffstat (limited to 'dom/bindings')
-rw-r--r--dom/bindings/ErrorResult.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/bindings/ErrorResult.h b/dom/bindings/ErrorResult.h
index 15cf2aa03..da7ec30e7 100644
--- a/dom/bindings/ErrorResult.h
+++ b/dom/bindings/ErrorResult.h
@@ -56,7 +56,7 @@ enum ErrNum {
// Debug-only compile-time table of the number of arguments of each error, for use in static_assert.
#if defined(DEBUG) && (defined(__clang__) || defined(__GNUC__))
-uint16_t ErrorFormatNumArgs[] = {
+uint16_t constexpr ErrorFormatNumArgs[] = {
#define MSG_DEF(_name, _argc, _exn, _str) \
_argc,
#include "mozilla/dom/Errors.msg"