From a754c180a6c8c984f58402835fc220bb932bc81d Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Fri, 14 Jun 2013 23:09:30 +0000 Subject: [PATCH] [geometry][index]: cosmetic change - fix needed by exceptions tests. [SVN r84784] --- .../geometry/index/detail/rtree/rstar/choose_next_node.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp b/include/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp index 905cd51d6..18e4bccba 100644 --- a/include/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp +++ b/include/boost/geometry/index/detail/rtree/rstar/choose_next_node.hpp @@ -81,8 +81,9 @@ private: // create container of children sorted by content enlargement needed to include the new value typedef boost::tuple child_contents; - typename rtree::container_from_elements_type::type - children_contents(children_count); + + typename rtree::container_from_elements_type::type children_contents; + children_contents.resize(children_count); for ( size_t i = 0 ; i < children_count ; ++i ) {