File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ void QgsCoordinateReferenceSystem::validate()
352
352
}
353
353
}
354
354
355
- bool QgsCoordinateReferenceSystem::createFromSrid ( long id )
355
+ bool QgsCoordinateReferenceSystem::createFromSrid ( const long id )
356
356
{
357
357
sSrIdCacheLock .lockForRead ();
358
358
QHash< long , QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrIdCache .constFind ( id );
@@ -374,7 +374,7 @@ bool QgsCoordinateReferenceSystem::createFromSrid( long id )
374
374
return result;
375
375
}
376
376
377
- bool QgsCoordinateReferenceSystem::createFromSrsId ( long id )
377
+ bool QgsCoordinateReferenceSystem::createFromSrsId ( const long id )
378
378
{
379
379
sCRSSrsIdLock .lockForRead ();
380
380
QHash< long , QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrsIdCache .constFind ( id );
You can’t perform that action at this time.
0 commit comments