Skip to content

Commit

Permalink
GEOS 3 port.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@6546 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Feb 7, 2007
1 parent 6ab46b4 commit 5085300
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/wfs/qgswfsprovider.cpp
Expand Up @@ -142,7 +142,7 @@ void QgsWFSProvider::reset()
#if GEOS_VERSION_MAJOR < 3
mSelectedFeatures = mSpatialIndex.query(&e);
#else
#warning *** FIXME: Need to revise use of mSelectedFeatures for GEOS 3.0.0
mSelectedFeatures = new std::vector<void*>;
mSpatialIndex.query(&e, *mSelectedFeatures);
#endif
if(mSelectedFeatures)
Expand Down Expand Up @@ -242,7 +242,7 @@ void QgsWFSProvider::select(QgsRect mbr, bool useIntersect)
#if GEOS_VERSION_MAJOR < 3
mSelectedFeatures = mSpatialIndex.query(&filter);
#else
#warning *** FIXME: Need to revise use of mSelectedFeatures for GEOS 3.0.0
mSelectedFeatures = new std::vector<void*>;
mSpatialIndex.query(&filter, *mSelectedFeatures);
#endif
mFeatureIterator = mSelectedFeatures->begin();
Expand Down

0 comments on commit 5085300

Please sign in to comment.