From b12af3357671ecbde0fee90f42b97f6ab7e07f99 Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Fri, 11 Mar 2011 12:54:07 +0000 Subject: [PATCH] Small change to avoid warnings [SVN r69841] --- .../geometry/algorithms/detail/overlay/assign_parents.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/overlay/assign_parents.hpp b/include/boost/geometry/algorithms/detail/overlay/assign_parents.hpp index 0fb215aee..6616a1a3c 100644 --- a/include/boost/geometry/algorithms/detail/overlay/assign_parents.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/assign_parents.hpp @@ -186,7 +186,7 @@ inline void assign_parents(Geometry1 const& geometry1, 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 @@ inline void assign_parents(Geometry1 const& geometry1, #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 }