Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84784 - trunk/boost/geometry/index/detail/rtree/rstar
From: adam.wulkiewicz_at_[hidden]
Date: 2013-06-14 19:09:30


Author: awulkiew
Date: 2013-06-14 19:09:30 EDT (Fri, 14 Jun 2013)
New Revision: 84784
URL: http://svn.boost.org/trac/boost/changeset/84784

Log:
[geometry][index]: cosmetic change - fix needed by exceptions tests.

Text files modified:
   trunk/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp Fri Jun 14 19:03:37 2013 (r84783)
+++ trunk/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp 2013-06-14 19:09:30 EDT (Fri, 14 Jun 2013) (r84784)
@@ -81,8 +81,9 @@
 
         // create container of children sorted by content enlargement needed to include the new value
         typedef boost::tuple<size_t, content_type, content_type> child_contents;
- typename rtree::container_from_elements_type<children_type, child_contents>::type
- children_contents(children_count);
+
+ typename rtree::container_from_elements_type<children_type, child_contents>::type children_contents;
+ children_contents.resize(children_count);
 
         for ( size_t i = 0 ; i < children_count ; ++i )
         {


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