mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-22 05:43:40 +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
|
@ -250,7 +250,7 @@ struct FlowGraph
|
|||
{
|
||||
return !(*this == other);
|
||||
}
|
||||
Hasher hash_into(Hasher h) const
|
||||
[[nodiscard]] Hasher hash_into(Hasher h) const
|
||||
{
|
||||
std::pair<RTLIL::SigBit, int> p = {node, is_bottom};
|
||||
h.eat(p);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue