mark all hash_into methods nodiscard
This commit is contained in:
@@ -53,7 +53,7 @@ struct QlDspSimdPass : public Pass {
|
||||
DspConfig(const DspConfig &ref) = default;
|
||||
DspConfig(DspConfig &&ref) = default;
|
||||
|
||||
Hasher hash_into(Hasher h) const { h.eat(connections); return h; }
|
||||
[[nodiscard]] Hasher hash_into(Hasher h) const { h.eat(connections); return h; }
|
||||
|
||||
bool operator==(const DspConfig &ref) const { return connections == ref.connections; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user