Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r84122 - trunk/boost/geometry/index/detail/rtree
From: adam.wulkiewicz_at_[hidden]
Date: 2013-05-02 21:03:32


Author: awulkiew
Date: 2013-05-02 21:03:32 EDT (Thu, 02 May 2013)
New Revision: 84122
URL: http://svn.boost.org/trac/boost/changeset/84122

Log:
geometry.index: compile errors fixed in experimental iterators.
Text files modified:
   trunk/boost/geometry/index/detail/rtree/query_iterators.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/geometry/index/detail/rtree/query_iterators.hpp
==============================================================================
--- trunk/boost/geometry/index/detail/rtree/query_iterators.hpp (original)
+++ trunk/boost/geometry/index/detail/rtree/query_iterators.hpp 2013-05-02 21:03:32 EDT (Thu, 02 May 2013)
@@ -125,7 +125,7 @@
 
     friend bool operator!=(spatial_query_iterator const& l, spatial_query_iterator const& r)
     {
- return l.m_visitor != r.m_visitor;
+ return !(l.m_visitor == r.m_visitor);
     }
 
     friend bool operator!=(spatial_query_iterator const& l, end_query_iterator<Value, Allocators>)
@@ -206,7 +206,7 @@
 
     friend bool operator!=(nearest_query_iterator const& l, nearest_query_iterator const& r)
     {
- return l.m_visitor != r.m_visitor;
+ return !(l.m_visitor == r.m_visitor);
     }
 
     friend bool operator!=(nearest_query_iterator const& l, end_query_iterator<Value, Allocators>)


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