We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 533e796 commit a46afcaCopy full SHA for a46afca
src/core/qgscoordinatereferencesystem.cpp
@@ -352,7 +352,7 @@ void QgsCoordinateReferenceSystem::validate()
352
}
353
354
355
-bool QgsCoordinateReferenceSystem::createFromSrid( long id )
+bool QgsCoordinateReferenceSystem::createFromSrid( const long id )
356
{
357
sSrIdCacheLock.lockForRead();
358
QHash< long, QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrIdCache.constFind( id );
@@ -374,7 +374,7 @@ bool QgsCoordinateReferenceSystem::createFromSrid( long id )
374
return result;
375
376
377
-bool QgsCoordinateReferenceSystem::createFromSrsId( long id )
+bool QgsCoordinateReferenceSystem::createFromSrsId( const long id )
378
379
sCRSSrsIdLock.lockForRead();
380
QHash< long, QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrsIdCache.constFind( id );
0 commit comments