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

[SVN r85694]
This commit is contained in:
Adam Wulkiewicz 2013-09-16 00:33:01 +00:00
parent ce10039377
commit 953876e33c

View File

@ -100,8 +100,8 @@ int main()
float x = coords[i].first; float x = coords[i].first;
float y = coords[i].second; float y = coords[i].second;
result.clear(); result.clear();
std::copy(t.qbegin(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)))), t.qend_(bgi::intersects(B(P(x - 10, y - 10), P(x + 10, y + 10)))),
std::back_inserter(result)); std::back_inserter(result));
// test // test
@ -152,8 +152,8 @@ int main()
float y = coords[i].second + 100; float y = coords[i].second + 100;
result.clear(); result.clear();
std::copy(t.qbegin(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)), t.qend_(bgi::nearest(P(x, y), neighbours_count)),
std::back_inserter(result)); std::back_inserter(result));
// test // test