Skip to content
Permalink
Browse files
Use constFind
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
  • Loading branch information
manisandro and nyalldawson committed Jun 15, 2021
1 parent b05f94a commit cf75f14d3d9d6d69dde7f01ba9eaaa30e1e3669b
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsowssourceselect.cpp
@@ -451,7 +451,7 @@ void QgsOWSSourceSelect::populateCrs()

if ( it == mSelectedLayersCRSs.constEnd() )
{
if ( mSelectedLayersCRSs.find( QgsProject::instance()->crs().authid() ) != mSelectedLayersCRSs.end() )
if ( mSelectedLayersCRSs.constFind( QgsProject::instance()->crs().authid() ) != mSelectedLayersCRSs.constEnd() )
{
mSelectedCRS = QgsProject::instance()->crs().authid();
}

0 comments on commit cf75f14

Please sign in to comment.