summaryrefslogtreecommitdiffstats
path: root/dom/xbl/nsXBLMaybeCompiled.h
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-17 23:48:58 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-21 11:10:23 +0000
commit3272147d97757673898da87bf02ea93438cae1a1 (patch)
tree853540025dd2241a5035b293fefc66b7b592d862 /dom/xbl/nsXBLMaybeCompiled.h
parentf2866a5420b4645d888fc50b22f7cbdd8a178042 (diff)
downloadUXP-3272147d97757673898da87bf02ea93438cae1a1.tar
UXP-3272147d97757673898da87bf02ea93438cae1a1.tar.gz
UXP-3272147d97757673898da87bf02ea93438cae1a1.tar.lz
UXP-3272147d97757673898da87bf02ea93438cae1a1.tar.xz
UXP-3272147d97757673898da87bf02ea93438cae1a1.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/xbl/nsXBLMaybeCompiled.h')
-rw-r--r--dom/xbl/nsXBLMaybeCompiled.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/xbl/nsXBLMaybeCompiled.h b/dom/xbl/nsXBLMaybeCompiled.h
index d4b366b0e..ba66ec5d5 100644
--- a/dom/xbl/nsXBLMaybeCompiled.h
+++ b/dom/xbl/nsXBLMaybeCompiled.h
@@ -124,7 +124,7 @@ struct BarrierMethods<nsXBLMaybeCompiled<UncompiledT>>
template <class T>
struct IsHeapConstructibleType<nsXBLMaybeCompiled<T>>
{ // Yes, this is the exception to the rule. Sorry.
- static constexpr bool value = true;
+ static const bool value = true;
};
template <class UncompiledT>