$include_dir="/home/hyper-archives/boost-commit/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-commit] svn:boost r70752 - trunk/boost/geometry/algorithms/detail/sections
From: mateusz_at_[hidden]
Date: 2011-03-30 09:11:15
Author: mloskot
Date: 2011-03-30 09:11:14 EDT (Wed, 30 Mar 2011)
New Revision: 70752
URL: http://svn.boost.org/trac/boost/changeset/70752
Log:
[geometry] Applied patch from Philipp Reh removing use of named constant max_segments_per_section due to problems with GCC 4.6. TODO: to be reviewed.
Text files modified: 
   trunk/boost/geometry/algorithms/detail/sections/sectionalize.hpp |     3 ++-                                     
   1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/geometry/algorithms/detail/sections/sectionalize.hpp
==============================================================================
--- trunk/boost/geometry/algorithms/detail/sections/sectionalize.hpp	(original)
+++ trunk/boost/geometry/algorithms/detail/sections/sectionalize.hpp	2011-03-30 09:11:14 EDT (Wed, 30 Mar 2011)
@@ -619,6 +619,7 @@
 {
     concept::check<Geometry const>();
 
+    // TODO: review use of this constant (see below) as causing problems with GCC 4.6 --mloskot
     // A maximum of 10 segments per section seems to give the fastest results
     static std::size_t const max_segments_per_section = 10;
     typedef dispatch::sectionalize
@@ -628,7 +629,7 @@
             Reverse,
             Sections,
             Sections::value,
-            max_segments_per_section
+            10 // TODO: max_segments_per_section
         > sectionalizer_type;
 
     sections.clear();