mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
const correctness via @flippmoke
This commit is contained in:
parent
a6d3921957
commit
d96e6abe81
@ -183,7 +183,7 @@ void create_feature(feature_impl & feature,
|
||||
auto const& geometry = mapnik::util::get<mapnik::json::geojson_object>(geom_value);
|
||||
mapnik::geometry::geometry_types geom_type;
|
||||
mapnik::json::positions const* coordinates = nullptr;
|
||||
for (auto & elem2 : geometry)
|
||||
for (auto const& elem2 : geometry)
|
||||
{
|
||||
auto const key2 = std::get<0>(elem2);
|
||||
if (key2 == mapnik::json::well_known_names::type)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user