File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -710,17 +710,17 @@ namespace osmium {
710710
711711 if (m_options.locations_on_ways ) {
712712 {
713- osmium::DeltaEncode<int64_t , int64_t > delta_id ;
713+ osmium::DeltaEncode<int64_t , int64_t > delta ;
714714 protozero::packed_field_sint64 field{pbf_way, protozero::pbf_tag_type (OSMFormat::Way::packed_sint64_lon)};
715715 for (const auto & node_ref : way.nodes ()) {
716- field.add_element (delta_id .update (node_ref.location ().x ()));
716+ field.add_element (delta .update (node_ref.location ().x ()));
717717 }
718718 }
719719 {
720- osmium::DeltaEncode<int64_t , int64_t > delta_id ;
720+ osmium::DeltaEncode<int64_t , int64_t > delta ;
721721 protozero::packed_field_sint64 field{pbf_way, protozero::pbf_tag_type (OSMFormat::Way::packed_sint64_lat)};
722722 for (const auto & node_ref : way.nodes ()) {
723- field.add_element (delta_id .update (node_ref.location ().y ()));
723+ field.add_element (delta .update (node_ref.location ().y ()));
724724 }
725725 }
726726 }
You can’t perform that action at this time.
0 commit comments