From a46afcad8a1edb56c7d90dd5065b6e4ce302fedb Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 10 Feb 2017 10:03:49 +1000 Subject: [PATCH] Fix signature difference between header and cpp --- src/core/qgscoordinatereferencesystem.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/qgscoordinatereferencesystem.cpp b/src/core/qgscoordinatereferencesystem.cpp index 4599b1eccba..b769aa8aca0 100644 --- a/src/core/qgscoordinatereferencesystem.cpp +++ b/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 );