Opened 12 years ago

Closed 11 years ago

#491 closed defect (fixed)

Fix C++11 build by avoiding std::pair<auto_ptr>

Reported by: jyasskin Owned by: geos-devel@…
Priority: major Milestone: 3.3.2
Component: Default Version: main
Severity: Unassigned Keywords:


The new C++11 standard disallows using std::auto_ptr as a member of std::pair: This patch defines a very simple struct to replace the GeomPtrPair typedef to avoid this issue.

Attachments (1)

no_pair_auto_ptr.patch (4.1 KB ) - added by jyasskin 12 years ago.

Download all attachments as: .zip

Change History (2)

by jyasskin, 12 years ago

Attachment: no_pair_auto_ptr.patch added

comment:1 by strk, 11 years ago

Resolution: fixed
Status: newclosed

Fixed by r3538 in 3.3 branch and r3540 in trunk

Note: See TracTickets for help on using tickets.