mirror of https://github.com/YosysHQ/yosys.git
kernel: IdString::in(const IdString &) as per @Tjoppen
This commit is contained in:
parent
18d85b88ae
commit
2d86563bb2
|
@ -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…
Reference in New Issue