Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r77306 - trunk/boost/geometry/algorithms/detail/overlay
From: barend.gehrels_at_[hidden]
Date: 2012-03-11 14:14:25


Author: barendgehrels
Date: 2012-03-11 14:14:24 EDT (Sun, 11 Mar 2012)
New Revision: 77306
URL: http://svn.boost.org/trac/boost/changeset/77306

Log:
[geometry] surpress gcc warning
Text files modified:
   trunk/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp | 18 +++++++++---------
   1 files changed, 9 insertions(+), 9 deletions(-)

Modified: trunk/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/overlay/get_turn_info.hpp 2012-03-11 14:14:24 EDT (Sun, 11 Mar 2012)
@@ -589,12 +589,12 @@
 
             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 @@
                     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;
         }
 


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