mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-20 00:40:05 +00:00
Take variables in account in corpus changes detection
* src/abg-comparison.cc (corpus_diff::length): Take changes about variables into account. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
bc7694e14c
commit
926ea2811e
@ -6592,7 +6592,10 @@ corpus_diff::length() const
|
||||
{
|
||||
return (priv_->deleted_fns_.size()
|
||||
+ priv_->added_fns_.size()
|
||||
- priv_->changed_fns_.size());
|
||||
+ priv_->changed_fns_.size()
|
||||
+ priv_->deleted_vars_.size()
|
||||
+ priv_->added_vars_.size()
|
||||
+ priv_->changed_vars_.size());
|
||||
}
|
||||
|
||||
/// Report the diff in a serialized form.
|
||||
|
Loading…
Reference in New Issue
Block a user