Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
--amend
  • Loading branch information
mhugent committed Jun 14, 2013
1 parent b8a2f0c commit 4061445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgscrscache.cpp
Expand Up @@ -60,10 +60,10 @@ const QgsCoordinateTransform* QgsCoordinateTransformCache::transform( const QStr
void QgsCoordinateTransformCache::invalidateCrs( const QString& crsAuthId )
{
//get keys to remove first
QHash< QPair< QString, QString >, QgsCoordinateTransform* >::iterator it = mTransforms.begin();
QHash< QPair< QString, QString >, QgsCoordinateTransform* >::const_iterator it = mTransforms.constBegin();
QList< QPair< QString, QString > > updateList;

for ( ; it != mTransforms.end(); ++it )
for ( ; it != mTransforms.constEnd(); ++it )
{
if ( it.key().first == crsAuthId || it.key().second == crsAuthId )
{
Expand Down

0 comments on commit 4061445

Please sign in to comment.