|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76854 - trunk/boost/geometry/algorithms
From: barend.gehrels_at_[hidden]
Date: 2012-02-03 10:21:49
Author: barendgehrels
Date: 2012-02-03 10:21:48 EST (Fri, 03 Feb 2012)
New Revision: 76854
URL: http://svn.boost.org/trac/boost/changeset/76854
Log:
Fixed greater<...> w.r.t. type (same as less<...> last week, this one was forgotten)
Text files modified:
trunk/boost/geometry/algorithms/correct.hpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Modified: trunk/boost/geometry/algorithms/correct.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/correct.hpp (original)
+++ trunk/boost/geometry/algorithms/correct.hpp 2012-02-03 10:21:48 EST (Fri, 03 Feb 2012)
@@ -162,14 +162,14 @@
struct correct_polygon
{
typedef typename ring_type<Polygon>::type ring_type;
- typedef typename coordinate_type<Polygon>::type coordinate_type;
+ typedef typename default_area_result<Polygon>::type area_result_type;
static inline void apply(Polygon& poly)
{
correct_ring
<
ring_type,
- std::less<typename default_area_result<Polygon>::type>
+ std::less<area_result_type>
>::apply(exterior_ring(poly));
typename interior_return_type<Polygon>::type rings
@@ -179,7 +179,7 @@
correct_ring
<
ring_type,
- std::greater<coordinate_type>
+ std::greater<area_result_type>
>::apply(*it);
}
}
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