From ed4e8fb4385ff8baeede4ce29f0dabbe0f5c5c55 Mon Sep 17 00:00:00 2001 From: Barend Gehrels Date: Sun, 11 Mar 2012 18:14:24 +0000 Subject: [PATCH] [geometry] surpress gcc warning [SVN r77306] --- .../detail/overlay/get_turn_info.hpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp b/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp index 1af3fe157..82449dc62 100644 --- a/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp +++ b/include/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp @@ -589,12 +589,12 @@ struct collinear : public base_turn_handler if (side_pk != side_p || side_qk != side_q) { - std::cout << " -> Collinear " - << " arr: " << arrival - << " prod: " << product - << " dir: " << side_p << " " << side_q - << " rev: " << side_pk << " " << side_qk - << std::endl; + //std::cout << " -> Collinear " + // << " arr: " << arrival + // << " prod: " << product + // << " dir: " << side_p << " " << side_q + // << " rev: " << side_pk << " " << side_qk + // << std::endl; handle_robustness(ti, product, side_p, side_q, side_pk, side_qk); } @@ -612,10 +612,10 @@ struct collinear : public base_turn_handler int side_pk, int side_qk) { bool take_ui = product == 1; - if (product == 1 && side_p == 1 && side_pk != 1 - || product == -1 && side_q == 1 && side_qk != 1) + if ((product == 1 && side_p == 1 && side_pk != 1) + || (product == -1 && side_q == 1 && side_qk != 1)) { - std::cout << " -> Reverse" << std::endl; + //std::cout << " -> Reverse" << std::endl; take_ui = ! take_ui; }