|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r69841 - trunk/boost/geometry/algorithms/detail/overlay
From: barend.gehrels_at_[hidden]
Date: 2011-03-11 07:54:08
Author: barendgehrels
Date: 2011-03-11 07:54:07 EST (Fri, 11 Mar 2011)
New Revision: 69841
URL: http://svn.boost.org/trac/boost/changeset/69841
Log:
Small change to avoid warnings
Text files modified:
trunk/boost/geometry/algorithms/detail/overlay/assign_parents.hpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
Modified: trunk/boost/geometry/algorithms/detail/overlay/assign_parents.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/overlay/assign_parents.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/overlay/assign_parents.hpp 2011-03-11 07:54:07 EST (Fri, 11 Mar 2011)
@@ -186,7 +186,7 @@
std::size_t count_total = ring_map.size();
std::size_t count_positive = 0;
- int index_positive = -1;
+ std::size_t index_positive = 0; // only used if count_positive>0
std::size_t index = 0;
// Copy to vector (with new approach this might be obsolete as well, using the map directly)
@@ -267,7 +267,6 @@
#ifdef BOOST_GEOMETRY_TIME_OVERLAY
std::cout << " ap: quadradic loop: " << timer.elapsed() << std::endl;
- std::cout << " ap: POS " << np << " NEG: " << nn << std::endl;
std::cout << " ap: check_for_orientation " << check_for_orientation << std::endl;
#endif
}
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