Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85694 - trunk/libs/geometry/index/example
From: adam.wulkiewicz_at_[hidden]
Date: 2013-09-15 20:33:02


Author: awulkiew
Date: 2013-09-15 20:33:01 EDT (Sun, 15 Sep 2013)
New Revision: 85694
URL: http://svn.boost.org/trac/boost/changeset/85694

Log:
[geometry][index] compilation error in benchmark random_test fixed.

Text files modified:
   trunk/libs/geometry/index/example/random_test.cpp | 8 ++++----
   1 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/libs/geometry/index/example/random_test.cpp
==============================================================================
--- trunk/libs/geometry/index/example/random_test.cpp Sun Sep 15 20:25:37 2013 (r85693)
+++ trunk/libs/geometry/index/example/random_test.cpp 2013-09-15 20:33:01 EDT (Sun, 15 Sep 2013) (r85694)
@@ -100,8 +100,8 @@
                 float x = coords[i].first;
                 float y = coords[i].second;
                 result.clear();
- std::copy(t.qbegin(bgi::intersects(B(P(x - 10, y - 10), P(x + 10, y + 10)))),
- t.qend(bgi::intersects(B(P(x - 10, y - 10), P(x + 10, y + 10)))),
+ std::copy(t.qbegin_(bgi::intersects(B(P(x - 10, y - 10), P(x + 10, y + 10)))),
+ t.qend_(bgi::intersects(B(P(x - 10, y - 10), P(x + 10, y + 10)))),
                           std::back_inserter(result));
 
                 // test
@@ -152,8 +152,8 @@
                 float y = coords[i].second + 100;
                 result.clear();
 
- std::copy(t.qbegin(bgi::nearest(P(x, y), neighbours_count)),
- t.qend(bgi::nearest(P(x, y), neighbours_count)),
+ std::copy(t.qbegin_(bgi::nearest(P(x, y), neighbours_count)),
+ t.qend_(bgi::nearest(P(x, y), neighbours_count)),
                           std::back_inserter(result));
 
                 // test


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