Skip to content

Commit a46afca

Browse files
committed
Fix signature difference between header and cpp
1 parent 533e796 commit a46afca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/core/qgscoordinatereferencesystem.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ void QgsCoordinateReferenceSystem::validate()
352352
}
353353
}
354354

355-
bool QgsCoordinateReferenceSystem::createFromSrid( long id )
355+
bool QgsCoordinateReferenceSystem::createFromSrid( const long id )
356356
{
357357
sSrIdCacheLock.lockForRead();
358358
QHash< long, QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrIdCache.constFind( id );
@@ -374,7 +374,7 @@ bool QgsCoordinateReferenceSystem::createFromSrid( long id )
374374
return result;
375375
}
376376

377-
bool QgsCoordinateReferenceSystem::createFromSrsId( long id )
377+
bool QgsCoordinateReferenceSystem::createFromSrsId( const long id )
378378
{
379379
sCRSSrsIdLock.lockForRead();
380380
QHash< long, QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrsIdCache.constFind( id );

0 commit comments

Comments
 (0)