Isse #1224 - revert change to unbust debug builds.

This commit is contained in:
Moonchild 2020-09-20 17:58:02 +00:00 committed by roytam1
commit fe7be5d771

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 ErrorFormatNumArgs[] = {
uint16_t constexpr ErrorFormatNumArgs[] = {
#define MSG_DEF(_name, _argc, _exn, _str) \
_argc,
#include "mozilla/dom/Errors.msg"