|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86003 - trunk/boost/polygon/detail
From: sydorchuk.andriy_at_[hidden]
Date: 2013-09-29 11:14:04
Author: asydorchuk
Date: 2013-09-29 11:14:04 EDT (Sun, 29 Sep 2013)
New Revision: 86003
URL: http://svn.boost.org/trac/boost/changeset/86003
Log:
Polygon: fixing compilation issues.
Text files modified:
trunk/boost/polygon/detail/polygon_formation.hpp | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
Modified: trunk/boost/polygon/detail/polygon_formation.hpp
==============================================================================
--- trunk/boost/polygon/detail/polygon_formation.hpp Sun Sep 29 10:41:01 2013 (r86002)
+++ trunk/boost/polygon/detail/polygon_formation.hpp 2013-09-29 11:14:04 EDT (Sun, 29 Sep 2013) (r86003)
@@ -728,7 +728,7 @@
void processEdges(iterator& beginOutput, iterator& endOutput,
Unit currentX, std::vector<interval_data<Unit> >& leftEdges,
std::vector<interval_data<Unit> >& rightEdges,
- size_t vertexThreshold=std::numeric_limits<size_t>::max() );
+ size_t vertexThreshold=(std::numeric_limits<size_t>::max)() );
/**********************************************************************
*methods implementing new polygon formation code
@@ -745,7 +745,7 @@
void maintainPartialSimplePolygonInvariant(iterator& ,iterator& ,Unit,
const std::vector<interval_data<Unit> >&,
const std::vector<interval_data<Unit> >&,
- size_t vertexThreshold=std::numeric_limits<size_t>::max());
+ size_t vertexThreshold=(std::numeric_limits<size_t>::max)());
void insertNewLeftEdgeIntoTailMap(Unit, Unit, Unit,
typename std::map<Unit, ActiveTail<Unit>*>::iterator &);
@@ -2026,7 +2026,7 @@
ActiveTail<Unit>* currentTail = 0;
const Unit UnitMax = (std::numeric_limits<Unit>::max)();
- if(vertexThreshold < std::numeric_limits<size_t>::max()){
+ if(vertexThreshold < (std::numeric_limits<size_t>::max)()){
maintainPartialSimplePolygonInvariant(beginOutput, endOutput, currentX,
leftEdges, rightEdges, vertexThreshold);
return;
@@ -2220,7 +2220,7 @@
unsigned int get_polygons(output_container& container,
iterator_type begin, iterator_type end, orientation_2d orient,
bool fracture_holes, concept_type,
- size_t sliceThreshold = std::numeric_limits<size_t>::max() ) {
+ size_t sliceThreshold = (std::numeric_limits<size_t>::max)() ) {
typedef typename output_container::value_type polygon_type;
typedef typename std::iterator_traits<iterator_type>::value_type::first_type coordinate_type;
polygon_type poly;
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