diff --git a/plugins/input/geojson/geojson_featureset.cpp b/plugins/input/geojson/geojson_featureset.cpp index 65bbc4c67..722108dc1 100644 --- a/plugins/input/geojson/geojson_featureset.cpp +++ b/plugins/input/geojson/geojson_featureset.cpp @@ -46,7 +46,7 @@ mapnik::feature_ptr geojson_featureset::next() geojson_datasource::item_type const& item = *index_itr_++; std::size_t index = item.second; #else - std::size_t const& index = *index_itr_++; + std::size_t index = *index_itr_++; #endif if ( index < features_.size()) {