|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r83507 - trunk/boost/polygon/detail
From: sydorchuk.andriy_at_[hidden]
Date: 2013-03-20 16:36:34
Author: asydorchuk
Date: 2013-03-20 16:36:33 EDT (Wed, 20 Mar 2013)
New Revision: 83507
URL: http://svn.boost.org/trac/boost/changeset/83507
Log:
Polygon: fixing ticket #8197 (range/algorithm conflicts with polygon).
Text files modified:
trunk/boost/polygon/detail/polygon_45_touch.hpp | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Modified: trunk/boost/polygon/detail/polygon_45_touch.hpp
==============================================================================
--- trunk/boost/polygon/detail/polygon_45_touch.hpp (original)
+++ trunk/boost/polygon/detail/polygon_45_touch.hpp 2013-03-20 16:36:33 EDT (Wed, 20 Mar 2013)
@@ -64,7 +64,9 @@
//inline CountTouch& operator=(int count) { counts[0] = counts[1] = count; return *this; }
inline CountTouch& operator=(const CountTouch& count) { counts = count.counts; return *this; }
inline int& operator[](int index) {
- std::vector<std::pair<int, int> >::iterator itr = lower_bound(counts.begin(), counts.end(), std::make_pair(index, int(0)));
+ std::vector<std::pair<int, int> >::iterator itr =
+ std::lower_bound(counts.begin(), counts.end(),
+ std::make_pair(index, int(0)));
if(itr != counts.end() && itr->first == index) {
return itr->second;
}
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