Skip to content

Commit

Permalink
std::as_const --> qgis::a_const
Browse files Browse the repository at this point in the history
  • Loading branch information
vcloarec authored and nyalldawson committed Jul 6, 2021
1 parent 61a59b5 commit 421009b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/mesh/qgsmeshlayerproperties.cpp
Expand Up @@ -214,7 +214,7 @@ void QgsMeshLayerProperties::syncToLayer()
mDatasetGroupTreeWidget->syncToLayer( mMeshLayer );

QgsDebugMsgLevel( QStringLiteral( "populate config tab" ), 4 );
for ( QgsMapLayerConfigWidget *w : std::as_const( mConfigWidgets ) )
for ( QgsMapLayerConfigWidget *w : qgis::as_const( mConfigWidgets ) )
w->syncToLayer( mMeshLayer );

QgsDebugMsgLevel( QStringLiteral( "populate rendering tab" ), 4 );
Expand Down Expand Up @@ -362,7 +362,7 @@ void QgsMeshLayerProperties::apply()

QgsDebugMsgLevel( QStringLiteral( "processing config tabs" ), 4 );

for ( QgsMapLayerConfigWidget *w : std::as_const( mConfigWidgets ) )
for ( QgsMapLayerConfigWidget *w : qgis::as_const( mConfigWidgets ) )
w->apply();

QgsDebugMsgLevel( QStringLiteral( "processing rendering tab" ), 4 );
Expand Down Expand Up @@ -410,7 +410,7 @@ void QgsMeshLayerProperties::apply()

// Resync what have to be resync (widget that can be changed by other properties part)
mStaticDatasetWidget->syncToLayer();
for ( QgsMapLayerConfigWidget *w : std::as_const( mConfigWidgets ) )
for ( QgsMapLayerConfigWidget *w : qgis::as_const( mConfigWidgets ) )
w->syncToLayer( mMeshLayer );
}

Expand Down

0 comments on commit 421009b

Please sign in to comment.