mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
mark all hash_into methods nodiscard
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user