We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a58481e commit 4dbef95Copy full SHA for 4dbef95
kernel/rtlil.h
@@ -364,7 +364,7 @@ struct RTLIL::IdString
364
365
[[nodiscard]] Hasher hash_into(Hasher h) const { return hash_ops<int>::hash_into(index_, h); }
366
367
- Hasher hash_top() const {
+ [[nodiscard]] Hasher hash_top() const {
368
Hasher h;
369
h.force((Hasher::hash_t) index_);
370
return h;
@@ -915,7 +915,7 @@ struct RTLIL::SigBit
915
bool operator ==(const RTLIL::SigBit &other) const;
916
bool operator !=(const RTLIL::SigBit &other) const;
917
[[nodiscard]] Hasher hash_into(Hasher h) const;
918
- Hasher hash_top() const;
+ [[nodiscard]] Hasher hash_top() const;
919
};
920
921
namespace hashlib {
0 commit comments