mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-17 15:34:34 +00:00
Remove too eager asserts
* src/abg-comparison.cc (class_diff::ensure_lookup_tables_populated): Do not assert that the same member type cannot be deleted/inserted twice. It actually can for, pointers, references, typedefs, etc. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
7a3229046b
commit
53d291cd0b
@ -1718,8 +1718,6 @@ class_diff::ensure_lookup_tables_populated(void) const
|
||||
if (klass_decl && klass_decl->is_declaration_only())
|
||||
continue;
|
||||
string qname = d->get_qualified_name();
|
||||
assert(priv_->deleted_member_types_.find(qname)
|
||||
== priv_->deleted_member_types_.end());
|
||||
priv_->deleted_member_types_[qname] = d;
|
||||
}
|
||||
|
||||
@ -1739,8 +1737,6 @@ class_diff::ensure_lookup_tables_populated(void) const
|
||||
if (klass_decl && klass_decl->is_declaration_only())
|
||||
continue;
|
||||
string qname = d->get_qualified_name();
|
||||
assert(priv_->inserted_member_types_.find(qname)
|
||||
== priv_->inserted_member_types_.end());
|
||||
string_decl_base_sptr_map::const_iterator j =
|
||||
priv_->deleted_member_types_.find(qname);
|
||||
if (j != priv_->deleted_member_types_.end())
|
||||
|
Loading…
Reference in New Issue
Block a user