mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-07 06:33:24 +00:00
hashlib: fix hash_obj_ops discarding hash value
This commit is contained in:
parent
6225abec71
commit
a2805b15c9
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ struct hash_obj_ops {
|
||||||
template<typename T>
|
template<typename T>
|
||||||
static inline Hasher hash_into(const T *a, Hasher h) {
|
static inline Hasher hash_into(const T *a, Hasher h) {
|
||||||
if (a)
|
if (a)
|
||||||
a->hash_into(h);
|
h = a->hash_into(h);
|
||||||
else
|
else
|
||||||
h.eat(0);
|
h.eat(0);
|
||||||
return h;
|
return h;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue