summaryrefslogtreecommitdiffstats
path: root/dom/cache/DBSchema.cpp
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-09-17 23:48:58 +0000
committerMoonchild <moonchild@palemoon.org>2020-09-17 23:48:58 +0000
commit6be15b96ae4a9f0a73aaea794602201ddf0c4242 (patch)
treea0bfe1e4c95ea2f6a1c0e551b346a5d178ba7dc0 /dom/cache/DBSchema.cpp
parenta0cdf328774e553eec1df9276604362d7a3679cd (diff)
downloadUXP-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/cache/DBSchema.cpp')
-rw-r--r--dom/cache/DBSchema.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/cache/DBSchema.cpp b/dom/cache/DBSchema.cpp
index 176e7b9d1..37510e2e1 100644
--- a/dom/cache/DBSchema.cpp
+++ b/dom/cache/DBSchema.cpp
@@ -2460,7 +2460,7 @@ Validate(mozIStorageConnection* aConn)
typedef nsresult (*MigrationFunc)(mozIStorageConnection*, bool&);
struct Migration
{
- constexpr Migration(int32_t aFromVersion, MigrationFunc aFunc)
+ Migration(int32_t aFromVersion, MigrationFunc aFunc)
: mFromVersion(aFromVersion)
, mFunc(aFunc)
{ }