Opened 10 years ago

Closed 10 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 by strk, 10 years ago

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.