diff --git a/src/nifskope.cpp b/src/nifskope.cpp index 059deb36b..25a71d3e2 100644 --- a/src/nifskope.cpp +++ b/src/nifskope.cpp @@ -1084,7 +1084,7 @@ void NifSkope::migrateSettings() const // Migrate lambda // Using a QHash of registry keys (stored in version.h), migrates from one version to another. - auto migrate = []( QSettings & migrateFrom, QSettings & migrateTo, static const QHash migration ) { + auto migrate = []( QSettings & migrateFrom, QSettings & migrateTo, const QHash migration ) { QHash::const_iterator i; for ( i = migration.begin(); i != migration.end(); ++i ) { QVariant val = migrateFrom.value( i.key() );