#209 closed defect (fixed)
inconsistent const declarations in C API
Reported by: | pramsey | Owned by: | pramsey |
---|---|---|---|
Priority: | minor | Milestone: | 3.1.0 |
Component: | Default | Version: | main |
Severity: | Annoyance | Keywords: | |
Cc: |
Description
Mark Cave-Ayland writes:
In some of my testing on GEOS SVN/PostGIS SVN I've noticed some warnings on calls to GEOSPreparedGeom_destroy. The reason for this is that the GEOSPrepare() constructor returns a "const PreparedGeometry *" whereas GEOSPreparedGeom_destroy() currently accepts a "PreparedGeometry *". The attached patch adds the missing const qualifier to GEOSPreparedGeom_destroy which removes the warnings in PostGIS.
Attachments (1)
Change History (4)
by , 16 years ago
Attachment: | geos_preparedgeom_destroy.patch added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 15 years ago
Milestone: | → 3.1.0 |
---|
Note:
See TracTickets
for help on using tickets.
Committed to trunk in r2200.