fix compilation with boost < 1.56
This commit is contained in:
parent
9020b8c6df
commit
1e4368e97a
2 changed files with 0 additions and 2 deletions
|
@ -252,7 +252,6 @@ mapnik::featureset_ptr geojson_datasource::features(mapnik::query const& q) cons
|
|||
tree_.query(boost::geometry::index::intersects(box),std::back_inserter(index_array));
|
||||
return std::make_shared<geojson_featureset>(features_, std::move(index_array));
|
||||
#else
|
||||
index_array_ = tree_.find(box);
|
||||
return std::make_shared<geojson_featureset>(features_, tree_.find(box));
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -293,7 +293,6 @@ mapnik::featureset_ptr topojson_datasource::features(mapnik::query const& q) con
|
|||
tree_.query(boost::geometry::index::intersects(box),std::back_inserter(index_array));
|
||||
return std::make_shared<topojson_featureset>(topo_, *tr_, std::move(index_array));
|
||||
#else
|
||||
index_array_ = tree_.find(box);
|
||||
return std::make_shared<topojson_featureset>(topo_, *tr_, tree_.find(box));
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue