diff options
author | Moonchild <moonchild@palemoon.org> | 2020-09-17 23:48:58 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-09-17 23:48:58 +0000 |
commit | 6be15b96ae4a9f0a73aaea794602201ddf0c4242 (patch) | |
tree | a0bfe1e4c95ea2f6a1c0e551b346a5d178ba7dc0 /dom/bindings/ErrorResult.h | |
parent | a0cdf328774e553eec1df9276604362d7a3679cd (diff) | |
download | UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.gz UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.lz UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.tar.xz UXP-6be15b96ae4a9f0a73aaea794602201ddf0c4242.zip |
Issue #1224 - Remove constant expressions from /dom
This excludes DOMProxy handlers in dom bindings because that's intertwined with
codegen and js that needs to be handled together.
Diffstat (limited to 'dom/bindings/ErrorResult.h')
-rw-r--r-- | dom/bindings/ErrorResult.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/bindings/ErrorResult.h b/dom/bindings/ErrorResult.h index da7ec30e7..15cf2aa03 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 constexpr ErrorFormatNumArgs[] = { +uint16_t ErrorFormatNumArgs[] = { #define MSG_DEF(_name, _argc, _exn, _str) \ _argc, #include "mozilla/dom/Errors.msg" |