Skip to content

Commit

Permalink
Fix signature difference between header and cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 10, 2017
1 parent 533e796 commit a46afca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/qgscoordinatereferencesystem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand All @@ -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 );
Expand Down

0 comments on commit a46afca

Please sign in to comment.