Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84808 - trunk/boost/geometry/index/detail/rtree/visitors
From: adam.wulkiewicz_at_[hidden]
Date: 2013-06-16 15:36:42


Author: awulkiew
Date: 2013-06-16 15:36:41 EDT (Sun, 16 Jun 2013)
New Revision: 84808
URL: http://svn.boost.org/trac/boost/changeset/84808

Log:
[geometry][index]: spatial query fixed - output iterator dereferenced.

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

Modified: trunk/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp Sun Jun 16 15:34:25 2013 (r84807)
+++ trunk/boost/geometry/index/detail/rtree/visitors/spatial_query.hpp 2013-06-16 15:36:41 EDT (Sun, 16 Jun 2013) (r84808)
@@ -59,7 +59,7 @@
             // if value meets predicates
             if ( index::detail::predicates_check<index::detail::value_tag, 0, predicates_len>(pred, *it, tr(*it)) )
             {
- out_iter = *it;
+ *out_iter = *it;
                 ++out_iter;
 
                 ++found_count;


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