Opened 9 years ago

Closed 9 years ago

#3376 closed defect (fixed)

make remove_repeated_points leave inputs alone

Reported by: pramsey Owned by: pramsey
Priority: medium Milestone: PostGIS 2.3.0
Component: postgis Version: master
Keywords: Cc:

Description

The remove_repeated_points code already mostly clones new objects, in all cases where it's (maybe) going to remove points. The only things that avoid cloning are objects (points, circular strings) that aren't going to be processed at all. Like most of our other functions, we should buckle down and make the input arguments const. (Would have avoided #3375)

Change History (1)

comment:1 by pramsey, 9 years ago

Resolution: fixed
Status: newclosed

Done in trunk at r14428

Note: See TracTickets for help on using tickets.