Skip to content

Commit

Permalink
Remove outcommented code
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent authored and github-actions[bot] committed Nov 18, 2021
1 parent 0ce2bf5 commit 90487c5
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/core/providers/ogr/qgsogrfeatureiterator.cpp
Expand Up @@ -129,7 +129,6 @@ QgsOgrFeatureIterator::QgsOgrFeatureIterator( QgsOgrFeatureSource *source, bool
}
}
}
//QMutexLocker locker( mSharedDS ? &mSharedDS->mutex() : nullptr );

if ( mRequest.destinationCrs().isValid() && mRequest.destinationCrs() != mSource->mCrs )
{
Expand Down Expand Up @@ -378,7 +377,6 @@ void QgsOgrFeatureIterator::setInterruptionChecker( QgsFeedback *interruptionChe

bool QgsOgrFeatureIterator::fetchFeature( QgsFeature &feature )
{
//QMutexLocker locker( mSharedDS ? &mSharedDS->mutex() : nullptr );
QgsCPLHTTPFetchOverrider oCPLHTTPFetcher( mAuthCfg, mInterruptionChecker );
QgsSetCPLHTTPFetchOverriderInitiatorClass( oCPLHTTPFetcher, QStringLiteral( "QgsOgrFeatureIterator" ) )

Expand Down Expand Up @@ -474,7 +472,6 @@ void QgsOgrFeatureIterator::resetReading()

bool QgsOgrFeatureIterator::rewind()
{
//QMutexLocker locker( mSharedDS ? &mSharedDS->mutex() : nullptr );
if ( mClosed || !mOgrLayer )
return false;

Expand All @@ -491,10 +488,6 @@ bool QgsOgrFeatureIterator::close()
if ( mSharedDS )
{
iteratorClosed();
/*if ( mSharedDS )
{
mSharedDS->sharedDSMutex().unlock();
}*/
mOgrLayer = nullptr;
mSharedDS.reset();

Expand Down

0 comments on commit 90487c5

Please sign in to comment.