Opened 11 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:
Cc:

Description

The new C++11 standard disallows using std::auto_ptr as a member of std::pair: http://lwg.github.com/issues/lwg-closed.html#2068. 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 11 years ago.

Download all attachments as: .zip

Change History (2)

by jyasskin, 11 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.