hashlib: redo interface for flexibility

This commit is contained in:
Emil J. Tywoniak
2024-12-18 14:49:25 +01:00
parent 7a362f1f74
commit d071489ab1
35 changed files with 542 additions and 386 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ struct QlDspSimdPass : public Pass {
DspConfig(const DspConfig &ref) = default;
DspConfig(DspConfig &&ref) = default;
unsigned int hash() const { return connections.hash(); }
Hasher hash_acc(Hasher h) const { h.acc(connections); return h; }
bool operator==(const DspConfig &ref) const { return connections == ref.connections; }
};