|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78402 - trunk/boost/polygon
From: sydorchuk.andriy_at_[hidden]
Date: 2012-05-10 07:02:17
Author: asydorchuk
Date: 2012-05-10 07:02:16 EDT (Thu, 10 May 2012)
New Revision: 78402
URL: http://svn.boost.org/trac/boost/changeset/78402
Log:
Polygon: fixing Boost.Polygon trunk test failures.
Text files modified:
trunk/boost/polygon/polygon_traits.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/polygon/polygon_traits.hpp
==============================================================================
--- trunk/boost/polygon/polygon_traits.hpp (original)
+++ trunk/boost/polygon/polygon_traits.hpp 2012-05-10 07:02:16 EDT (Thu, 10 May 2012)
@@ -1034,7 +1034,7 @@
template <typename iT>
bool point_sequence_is_45(iT itr, iT itr_end) {
- typedef typename iT::value_type Point;
+ typedef typename std::iterator_traits<iT>::value_type Point;
typedef typename point_traits<Point>::coordinate_type Unit;
if(itr == itr_end) return true;
Point firstPt = *itr;
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