Opened 10 years ago
Closed 10 years ago
#637 closed defect (fixed)
PrepairedPoint.h intersects is missing a const
Reported by: | goatbar | Owned by: | |
---|---|---|---|
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 , 10 years ago
Milestone: | → 3.3.9 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This is already fixed in the 3.3 branch