Opened 18 years ago
Last modified 17 years ago
#96 closed defect (not a bug)
UniqueCoordinateArrayFilter should take const ref — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | 3.0.0 |
Severity: | Content | Keywords: | imported, phpbugtracker |
Cc: |
Description
Current verson of the UniqueCoordinateArrayFilter constructor is: UniqueCoordinateArrayFilter(geom::Coordinate::ConstVect &target) : pts(target) {} ConstVect can be safely passed by const-reference, because pts(target) calls copy constructor. Const-reference will make the API more clear.
Note:
See TracTickets
for help on using tickets.