mirror of
https://github.com/boostorg/geometry.git
synced 2025-05-12 14:01:47 +00:00
[doc] Fix a comment in the rtree's range adaptors example.
This commit is contained in:
parent
7006d6ca80
commit
a5925c63dd
@ -65,7 +65,7 @@ int main()
|
|||||||
boxes.push_back(b);
|
boxes.push_back(b);
|
||||||
}
|
}
|
||||||
|
|
||||||
// create the rtree using default constructor
|
// create the rtree passing a Range
|
||||||
bgi::rtree< value, bgi::quadratic<16> >
|
bgi::rtree< value, bgi::quadratic<16> >
|
||||||
rtree(boxes | boost::adaptors::indexed()
|
rtree(boxes | boost::adaptors::indexed()
|
||||||
| boost::adaptors::transformed(pair_maker<box, size_type>()));
|
| boost::adaptors::transformed(pair_maker<box, size_type>()));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user