Skip to content

Commit 72c132a

Browse files
committed
SegmentPointComparator: Use CoordinateXY
1 parent f98d330 commit 72c132a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/geos/noding/SegmentPointComparator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class GEOS_DLL SegmentPointComparator {
4949
* @return 1 node1 occurs first
5050
*/
5151
static int
52-
compare(int octant, const geom::Coordinate& p0,
53-
const geom::Coordinate& p1)
52+
compare(int octant, const geom::CoordinateXY& p0,
53+
const geom::CoordinateXY& p1)
5454
{
5555
// nodes can only be equal if their coordinates are equal
5656
if(p0.equals2D(p1)) {

0 commit comments

Comments
 (0)