kernel: IdString::in(const IdString &) as per @Tjoppen

This commit is contained in:
Eddie Hung 2020-04-01 14:10:24 -07:00
parent 18d85b88ae
commit 2d86563bb2
1 changed files with 1 additions and 1 deletions

View File

@ -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; }