Skip to content
Permalink
Browse files

Fix signature difference between header and cpp

  • Loading branch information
nyalldawson committed Feb 10, 2017
1 parent 533e796 commit a46afcad8a1edb56c7d90dd5065b6e4ce302fedb
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/qgscoordinatereferencesystem.cpp
@@ -352,7 +352,7 @@ void QgsCoordinateReferenceSystem::validate()
}
}

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

bool QgsCoordinateReferenceSystem::createFromSrsId( long id )
bool QgsCoordinateReferenceSystem::createFromSrsId( const long id )
{
sCRSSrsIdLock.lockForRead();
QHash< long, QgsCoordinateReferenceSystem >::const_iterator crsIt = sSrsIdCache.constFind( id );

0 comments on commit a46afca

Please sign in to comment.
You can’t perform that action at this time.