bug 1252687 - make Migration's ctor constexpr r=bz

This commit is contained in:
Trevor Saunders 2016-03-01 18:14:39 -05:00
parent 966ec780b8
commit e45a8375fb

View File

@ -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)
{ }