Skip to content

Commit

Permalink
Also exclude re-surrected nodes from stats
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Aug 17, 2024
1 parent d456b21 commit e5bff10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osp-stats-non-moving-node-changes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class StatsHandler : public osmium::diff_handler::DiffHandler {

public:
void node(const osmium::DiffNode& dnode) {
if (dnode.first() || dnode.curr().deleted()) {
if (dnode.first() || dnode.prev().deleted() || dnode.curr().deleted()) {
return;
}

Expand Down

0 comments on commit e5bff10

Please sign in to comment.