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.
This commit is contained in:
Moonchild 2020-09-17 23:48:58 +00:00 committed by roytam1
commit f5f9c8c597
34 changed files with 54 additions and 57 deletions

View file

@ -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"