Skip to content

Commit

Permalink
constify
Browse files Browse the repository at this point in the history
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
  • Loading branch information
troopa81 and m-kuhn committed Jan 3, 2022
1 parent 46caa0d commit 2508228
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -13659,7 +13659,7 @@ void QgisApp::addEmbeddedItems( const QString &projectFile, const QStringList &g

// Resolve references to other layers
const QMap<QString, QgsMapLayer *> layers = QgsProject::instance()->mapLayers();
for ( QMap<QString, QgsMapLayer *>::iterator it = layers.begin(); it != layers.end(); ++it )
for ( QMap<QString, QgsMapLayer *>::const_iterator it = layers.constBegin(); it != layers.constEnd(); ++it )
{
it.value()->resolveReferences( QgsProject::instance() );
}
Expand Down

0 comments on commit 2508228

Please sign in to comment.