mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 10:50:25 +00:00
mark all hash_into methods nodiscard
This commit is contained in:
parent
a2805b15c9
commit
a58481e9b7
21 changed files with 60 additions and 60 deletions
|
@ -127,7 +127,7 @@ struct proc_dlatch_db_t
|
|||
return signal == other.signal && match == other.match && children == other.children;
|
||||
}
|
||||
|
||||
Hasher hash_into(Hasher h) const {
|
||||
[[nodiscard]] Hasher hash_into(Hasher h) const {
|
||||
h.eat(signal);
|
||||
h.eat(match);
|
||||
h.eat(children);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue