Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r74597 - sandbox-branches/geometry/index/tests
From: adam.wulkiewicz_at_[hidden]
Date: 2011-09-28 07:50:25


Author: awulkiew
Date: 2011-09-28 07:50:24 EDT (Wed, 28 Sep 2011)
New Revision: 74597
URL: http://svn.boost.org/trac/boost/changeset/74597

Log:
tests adapted to use predicates check interface handling value predicates.
Text files modified:
   sandbox-branches/geometry/index/tests/rtree_function.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: sandbox-branches/geometry/index/tests/rtree_function.hpp
==============================================================================
--- sandbox-branches/geometry/index/tests/rtree_function.hpp (original)
+++ sandbox-branches/geometry/index/tests/rtree_function.hpp 2011-09-28 07:50:24 EDT (Wed, 28 Sep 2011)
@@ -164,7 +164,7 @@
 
             for ( typename Cont::const_iterator it = c.begin() ; it != c.end() ; ++it )
             {
- if ( bgi::predicates_check<bgi::detail::rtree::value_tag>(pred, t.get_translator()(*it)) )
+ if ( bgi::predicates_check<bgi::detail::rtree::value_tag>(pred, *it, t.get_translator()(*it)) )
                     res2.push_back(*it);
             }
 
@@ -213,7 +213,7 @@
 
             for ( typename Cont::const_iterator it = c.begin() ; it != c.end() ; ++it )
             {
- if ( bgi::predicates_check<bgi::detail::rtree::value_tag>(pred, t.get_translator()(*it)) )
+ if ( bgi::predicates_check<bgi::detail::rtree::value_tag>(pred, *it, t.get_translator()(*it)) )
                     res2.push_back(*it);
             }
             std::sort(


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