Skip to content

Commit

Permalink
[Fix] Build error in GCC, accidentally copied static into params
Browse files Browse the repository at this point in the history
  • Loading branch information
hexabits committed Oct 7, 2014
1 parent 8fa5dcd commit 24138b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nifskope.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<QString, QString> migration ) {
auto migrate = []( QSettings & migrateFrom, QSettings & migrateTo, const QHash<QString, QString> migration ) {
QHash<QString, QString>::const_iterator i;
for ( i = migration.begin(); i != migration.end(); ++i ) {
QVariant val = migrateFrom.value( i.key() );
Expand Down

0 comments on commit 24138b8

Please sign in to comment.