mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 07:24:34 +00:00
Fix wrong deleted functions count when diffing corpora
* src/abg-comparison.cc (corpus_diff::priv::ensure_lookup_tables_populated): If a function has changed, deleted it from the list the removed functions. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
7a05284c8a
commit
7f59e159f2
@ -4168,6 +4168,7 @@ corpus_diff::priv::ensure_lookup_tables_populated()
|
||||
if (*j->second != *added_fn)
|
||||
changed_fns_[j->first] = std::make_pair(j->second,
|
||||
added_fn);
|
||||
deleted_fns_.erase(j);
|
||||
}
|
||||
else
|
||||
added_fns_[n] = added_fn;
|
||||
|
Loading…
Reference in New Issue
Block a user