Skip to content

Commit

Permalink
Use for instead of foreach
Browse files Browse the repository at this point in the history
  • Loading branch information
strk committed Nov 1, 2019
1 parent d7ffb84 commit 199b7da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/postgres/qgspostgresprovider.cpp
Expand Up @@ -1132,7 +1132,7 @@ void QgsPostgresProvider::setEditorWidgets()
}

QStringList quotedFnames;
foreach ( const QString &name, mAttributeFields.names() )
for ( const QString &name : mAttributeFields.names() )
{
quotedFnames << quotedValue( name );
}
Expand Down

0 comments on commit 199b7da

Please sign in to comment.