Skip to content

Commit

Permalink
Revert "Fix build on old qt"
Browse files Browse the repository at this point in the history
This reverts commit aae2ce1.
  • Loading branch information
3nids committed Jun 18, 2021
1 parent a038a79 commit 3b78ee6
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/core/qgscachedfeatureiterator.cpp
Expand Up @@ -53,14 +53,7 @@ QgsCachedFeatureIterator::QgsCachedFeatureIterator( QgsVectorLayerCache *vlCache
break;

default:
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
mFeatureIds.clear();
mFeatureIds.reserve( static_cast< int >( mVectorLayerCache->mCacheOrderedKeys.size() ) );
for ( auto it = mVectorLayerCache->mCacheOrderedKeys.begin(); it != mVectorLayerCache->mCacheOrderedKeys.end(); ++it )
mFeatureIds << *it;
#else
mFeatureIds = QList( mVectorLayerCache->mCacheOrderedKeys.begin(), mVectorLayerCache->mCacheOrderedKeys.end() );
#endif
break;
}

Expand Down

0 comments on commit 3b78ee6

Please sign in to comment.