mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-19 16:30:04 +00:00
Make decl hashing always take qualified name into account
* src/abg-hash.cc (decl_base:#️⃣:operator()(const decl_base&)):
Always hash the qualified name of the decl.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
85feb73bad
commit
d169d57e54
@ -109,7 +109,7 @@ struct decl_base::hash
|
||||
size_t v = str_hash(typeid(d).name());
|
||||
if (!d.get_linkage_name().empty())
|
||||
v = hashing::combine_hashes(v, str_hash(d.get_linkage_name()));
|
||||
else if (!d.get_name().empty())
|
||||
if (!d.get_name().empty())
|
||||
v = hashing::combine_hashes(v, str_hash(d.get_qualified_name()));
|
||||
if (is_member_decl(d))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user