Opened 5 years ago

Closed 5 years ago

#637 closed defect (fixed)

PrepairedPoint.h intersects is missing a const

Reported by: goatbar Owned by: geos-devel@…
Priority: major Milestone: 3.3.9
Component: Default Version: 3.3.8
Severity: Unassigned Keywords:


I believe this change is correct. It helps a llvm compiler warning on my machine.

In include/geos/geom/prep/PerparedPoint.h:

	bool intersects(const geom::Geometry* g);

Should change to:

	virtual bool intersects(const geom::Geometry* g) const;

and src/geom/prep/PreparedPoint.cpp

PreparedPoint::intersects(const geom::Geometry* g)


PreparedPoint::intersects(const geom::Geometry* g) const

Change History (1)

comment:1 Changed 5 years ago by strk

Milestone: 3.3.9
Resolution: fixed
Status: newclosed

This is already fixed in the 3.3 branch

Note: See TracTickets for help on using tickets.