Opened 18 years ago
Last modified 16 years ago
#96 closed defect (not a bug)
UniqueCoordinateArrayFilter should take const ref
Reported by: | mloskot | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | 3.0.0 |
Severity: | Content | Keywords: | imported, phpbugtracker |
Cc: |
Description (last modified by )
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.
Change History (2)
comment:2 by , 16 years ago
Description: | modified (diff) |
---|---|
Milestone: | imported |
Priority: | 2 → major |
Reporter: | changed from | to
Note:
See TracTickets
for help on using tickets.