mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-16 00:03:12 -04:00
Fix signature difference between header and cpp
This commit is contained in:
parent
533e796130
commit
a46afcad8a
@ -352,7 +352,7 @@ void QgsCoordinateReferenceSystem::validate()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QgsCoordinateReferenceSystem::createFromSrid( long id )
|
bool QgsCoordinateReferenceSystem::createFromSrid( const long id )
|
||||||
{
|
{
|
||||||
sSrIdCacheLock.lockForRead();
|
sSrIdCacheLock.lockForRead();
|
||||||
QHash< long, QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrIdCache.constFind( id );
|
QHash< long, QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrIdCache.constFind( id );
|
||||||
@ -374,7 +374,7 @@ bool QgsCoordinateReferenceSystem::createFromSrid( long id )
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool QgsCoordinateReferenceSystem::createFromSrsId( long id )
|
bool QgsCoordinateReferenceSystem::createFromSrsId( const long id )
|
||||||
{
|
{
|
||||||
sCRSSrsIdLock.lockForRead();
|
sCRSSrsIdLock.lockForRead();
|
||||||
QHash< long, QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrsIdCache.constFind( id );
|
QHash< long, QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrsIdCache.constFind( id );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user