Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 16, 2019
1 parent b203e6e commit f6f6bbc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/qgscoordinatereferencesystem.cpp
Expand Up @@ -1411,7 +1411,7 @@ bool QgsCoordinateReferenceSystem::setWktString( const QString &wkt, bool allowP
{
locker.changeMode( QgsReadWriteLocker::Write );
if ( !sDisableWktCache )
sWktCache->insert( wkt, *this );
sWktCache.insert( wkt, *this );
return d->mIsValid;
}

Expand All @@ -1434,7 +1434,7 @@ bool QgsCoordinateReferenceSystem::setWktString( const QString &wkt, bool allowP
{
locker.changeMode( QgsReadWriteLocker::Write );
if ( !sDisableWktCache )
sWktCache->insert( wkt, *this );
sWktCache.insert( wkt, *this );
return true;
}
}
Expand All @@ -1454,7 +1454,7 @@ bool QgsCoordinateReferenceSystem::setWktString( const QString &wkt, bool allowP
bool result = createFromOgcWmsCrs( authid );
locker.changeMode( QgsReadWriteLocker::Write );
if ( !sDisableWktCache )
sWktCache->insert( wkt, *this );
sWktCache.insert( wkt, *this );
return result;
}
#endif
Expand Down

0 comments on commit f6f6bbc

Please sign in to comment.