mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
kernel: IdString::in(const IdString &) as per @Tjoppen
This commit is contained in:
parent
18d85b88ae
commit
2d86563bb2
1 changed files with 1 additions and 1 deletions
|
@ -369,7 +369,7 @@ namespace RTLIL
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool in(IdString rhs) const { return *this == rhs; }
|
bool in(const IdString &rhs) const { return *this == rhs; }
|
||||||
bool in(const char *rhs) const { return *this == rhs; }
|
bool in(const char *rhs) const { return *this == rhs; }
|
||||||
bool in(const std::string &rhs) const { return *this == rhs; }
|
bool in(const std::string &rhs) const { return *this == rhs; }
|
||||||
bool in(const pool<IdString> &rhs) const { return rhs.count(*this) != 0; }
|
bool in(const pool<IdString> &rhs) const { return rhs.count(*this) != 0; }
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue