Ticket #491 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

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: svn-trunk
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

no_pair_auto_ptr.patch Download (4.1 KB) - added by jyasskin 7 months ago.

Change History

Changed 7 months ago by jyasskin

Changed 6 months ago by strk

  • status changed from new to closed
  • resolution set to fixed

Fixed by r3538 in 3.3 branch and r3540 in trunk

Note: See TracTickets for help on using tickets.