From 24138b89ff313f40490301fbb340c966a1b2ea7f Mon Sep 17 00:00:00 2001 From: jonwd7 Date: Tue, 7 Oct 2014 14:54:39 -0400 Subject: [PATCH] [Fix] Build error in GCC, accidentally copied `static` into params --- src/nifskope.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() );