|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r63840 - sandbox/geometry/libs/geometry/example
From: barend.gehrels_at_[hidden]
Date: 2010-07-11 05:50:26
Author: barendgehrels
Date: 2010-07-11 05:50:26 EDT (Sun, 11 Jul 2010)
New Revision: 63840
URL: http://svn.boost.org/trac/boost/changeset/63840
Log:
Fix for gcc pair
Text files modified:
sandbox/geometry/libs/geometry/example/x04_wxwidgets_world_mapper.cpp | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
Modified: sandbox/geometry/libs/geometry/example/x04_wxwidgets_world_mapper.cpp
==============================================================================
--- sandbox/geometry/libs/geometry/example/x04_wxwidgets_world_mapper.cpp (original)
+++ sandbox/geometry/libs/geometry/example/x04_wxwidgets_world_mapper.cpp 2010-07-11 05:50:26 EDT (Sun, 11 Jul 2010)
@@ -390,9 +390,8 @@
boost::scoped_array<wxPoint> points(new wxPoint[n]);
- bg::transform(poly.outer(),
- std::make_pair(points.get(), points.get() + n),
- *m_map_transformer);
+ wxPointPointerPair pair = std::make_pair(points.get(), points.get() + n);
+ bg::transform(poly.outer(), pair, *m_map_transformer);
dc.DrawPolygon(n, points.get());
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk