Skip to content

Commit 9a5143d

Browse files
committed
const correctness
(cherry picked from commit 92f6eda)
1 parent a4a672b commit 9a5143d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/providers/wcs/qgswcscapabilities.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -800,7 +800,7 @@ bool QgsWcsCapabilities::parseDescribeCoverageDom10( QByteArray const &xml, QgsW
800800
}
801801

802802
// exclude invalid CRSs from the lists
803-
for ( const QString &crsid : crsList )
803+
for ( const QString &crsid : qgis::as_const( crsList ) )
804804
{
805805
if ( QgsCoordinateReferenceSystem::fromOgcWmsCrs( crsid ).isValid() )
806806
{

0 commit comments

Comments
 (0)