From 953876e33c1fedf88912bfaf6b298a11399c5217 Mon Sep 17 00:00:00 2001 From: Adam Wulkiewicz Date: Mon, 16 Sep 2013 00:33:01 +0000 Subject: [PATCH] [geometry][index] compilation error in benchmark random_test fixed. [SVN r85694] --- index/example/random_test.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index/example/random_test.cpp b/index/example/random_test.cpp index f4145152c..48a45191c 100644 --- a/index/example/random_test.cpp +++ b/index/example/random_test.cpp @@ -100,8 +100,8 @@ int main() 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 @@ int main() 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