While hashing template_decl we inadvertently forget the contribution
of the name of the type to the hash.
This was spotted by Ondrej Oprala.
Fixed thus.
* src/abg-hash.cc (template_decl::hash::operator()): Combine the
contribution of the qualified name to the contribution of the type
name to the hash.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
template_parameter::shared_ptr_hash hash_template_parameter;
size_t v = hash_string(typeid(t).name());
- v = hash_string(t.get_qualified_name());
+ v = hashing::combine_hashes(v, hash_string(t.get_qualified_name()));
for (list<template_parameter_sptr>::const_iterator p =
t.get_template_parameters().begin();