Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63582 - in sandbox/geometry/boost/geometry: algorithms strategies/concepts
From: barend.gehrels_at_[hidden]
Date: 2010-07-04 06:15:00


Author: barendgehrels
Date: 2010-07-04 06:14:59 EDT (Sun, 04 Jul 2010)
New Revision: 63582
URL: http://svn.boost.org/trac/boost/changeset/63582

Log:
Fixed warning and bug in new distance approach
Text files modified:
   sandbox/geometry/boost/geometry/algorithms/distance.hpp | 2 +-
   sandbox/geometry/boost/geometry/strategies/concepts/distance_concept.hpp | 1 +
   2 files changed, 2 insertions(+), 1 deletions(-)

Modified: sandbox/geometry/boost/geometry/algorithms/distance.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/algorithms/distance.hpp (original)
+++ sandbox/geometry/boost/geometry/algorithms/distance.hpp 2010-07-04 06:14:59 EDT (Sun, 04 Jul 2010)
@@ -143,7 +143,7 @@
             else if (ds < d)
             {
                 d = ds;
- return_type rd = ps_strategy.apply(point, *prev, *it);
+ rd = ps_strategy.apply(point, *prev, *it);
             }
             prev = it++;
         }

Modified: sandbox/geometry/boost/geometry/strategies/concepts/distance_concept.hpp
==============================================================================
--- sandbox/geometry/boost/geometry/strategies/concepts/distance_concept.hpp (original)
+++ sandbox/geometry/boost/geometry/strategies/concepts/distance_concept.hpp 2010-07-04 06:14:59 EDT (Sun, 04 Jul 2010)
@@ -106,6 +106,7 @@
 
                 boost::ignore_unused_variable_warning(s);
                 boost::ignore_unused_variable_warning(c);
+ boost::ignore_unused_variable_warning(r);
             }
         };
 


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