Opened 11 years ago

Closed 11 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:
Cc:

Description

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)

to

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

Change History (1)

comment:1 by strk, 11 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.