+ avoid copying feature_ptr during r-tree initialisation
This commit is contained in:
parent
d116ca062f
commit
b3948e4a9c
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ geojson_datasource::geojson_datasource(parameters const& params)
|
|||
|
||||
bool first = true;
|
||||
std::size_t count=0;
|
||||
for (mapnik::feature_ptr f : features_)
|
||||
for (mapnik::feature_ptr const& f : features_)
|
||||
{
|
||||
mapnik::box2d<double> const& box = f->envelope();
|
||||
if (first)
|
||||
|
|
Loading…
Reference in a new issue