Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r82690 - trunk/boost/geometry/algorithms/detail/overlay
From: barend.gehrels_at_[hidden]
Date: 2013-02-06 20:24:15


Author: barendgehrels
Date: 2013-02-02 13:47:00 EST (Sat, 02 Feb 2013)
New Revision: 82690
URL: http://svn.boost.org/trac/boost/changeset/82690

Log:
[geometry] applied patch of Vladimir Petrovic and changed std::string (which causes string-construction) to const char* for non-debug mode
Text files modified:
   trunk/boost/geometry/algorithms/detail/overlay/traverse.hpp | 7 +++++--
   1 files changed, 5 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/algorithms/detail/overlay/traverse.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/overlay/traverse.hpp (original)
+++ trunk/boost/geometry/algorithms/detail/overlay/traverse.hpp 2013-02-02 13:47:00 EST (Sat, 02 Feb 2013)
@@ -59,7 +59,7 @@
     }
 }
 #else
-inline void debug_traverse(Turn const& , Operation, std::string const& )
+inline void debug_traverse(Turn const& , Operation, const char*)
 {
 }
 #endif
@@ -365,7 +365,10 @@
                                                 "Dead end",
                                                 geometry1, geometry2, state);
                                         }
- detail::overlay::debug_traverse(*current, *current_iit, "Selected ");
+ else
+ {
+ detail::overlay::debug_traverse(*current, *current_iit, "Selected ");
+ }
 
                                         if (i++ > 2 + 2 * turns.size())
                                         {


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