mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-13 01:16:16 +00:00
hashlib: acc -> eat
This commit is contained in:
parent
79acc141d5
commit
4e29ec1854
25 changed files with 200 additions and 200 deletions
|
@ -171,8 +171,8 @@ struct shared_str {
|
|||
const char *c_str() const { return content->c_str(); }
|
||||
const string &str() const { return *content; }
|
||||
bool operator==(const shared_str &other) const { return *content == *other.content; }
|
||||
Hasher hash_acc(Hasher h) const {
|
||||
h.acc(*content);
|
||||
Hasher hash_eat(Hasher h) const {
|
||||
h.eat(*content);
|
||||
return h;
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue