Skip to content

Commit 1e80a98

Browse files
committedFeb 19, 2016
include spatialindex only in core (fixes #13197)
1 parent cf8c7b1 commit 1e80a98

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed
 

‎src/core/qgspointlocator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "qgswkbptr.h"
2121
#include "qgis.h"
2222

23-
#include <spatialindex/SpatialIndex.h>
23+
#include <SpatialIndex.h>
2424

2525
#include <QLinkedListIterator>
2626

‎src/core/qgspointlocator.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@ class QgsVectorLayer;
2323
#include "qgspoint.h"
2424
#include "qgsrectangle.h"
2525

26-
27-
#include <spatialindex/SpatialIndex.h>
28-
29-
3026
class QgsCoordinateTransform;
3127
class QgsCoordinateReferenceSystem;
3228

@@ -35,6 +31,12 @@ class QgsPointLocator_VisitorNearestEdge;
3531
class QgsPointLocator_VisitorArea;
3632
class QgsPointLocator_VisitorEdgesInRect;
3733

34+
namespace SpatialIndex
35+
{
36+
class IStorageManager;
37+
class ISpatialIndex;
38+
}
39+
3840
/**
3941
* @brief The class defines interface for querying point location:
4042
* - query nearest vertices / edges to a point

‎src/plugins/topology/checkDock.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include <qgsgeometry.h>
2525
//#include <qgsvertexmarker.h>
2626
#include "qgsspatialindex.h"
27-
//#include <spatialindex/qgsspatialindex.h>
2827

2928
#include "ui_checkDock.h"
3029
#include "rulesDialog.h"

0 commit comments

Comments
 (0)
Please sign in to comment.