Skip to content

Commit 7316c65

Browse files
committed
Rename confusing variable name
1 parent 8f5a852 commit 7316c65

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

include/osmium/io/detail/pbf_output_format.hpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)