mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
bug 1252687 - make Migration's ctor constexpr r=bz
This commit is contained in:
parent
966ec780b8
commit
e45a8375fb
2
dom/cache/DBSchema.cpp
vendored
2
dom/cache/DBSchema.cpp
vendored
@ -2399,7 +2399,7 @@ Validate(mozIStorageConnection* aConn)
|
||||
typedef nsresult (*MigrationFunc)(mozIStorageConnection*);
|
||||
struct Migration
|
||||
{
|
||||
Migration(int32_t aFromVersion, MigrationFunc aFunc)
|
||||
MOZ_CONSTEXPR Migration(int32_t aFromVersion, MigrationFunc aFunc)
|
||||
: mFromVersion(aFromVersion)
|
||||
, mFunc(aFunc)
|
||||
{ }
|
||||
|
Loading…
Reference in New Issue
Block a user