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/qgis@6546 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
telwertowski committed Feb 7, 2007
1 parent 0d5b249 commit cabde15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/providers/wfs/qgswfsprovider.cpp
Original file line number Diff line number Diff line change
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 cabde15

Please sign in to comment.