mirror of https://github.com/YosysHQ/yosys.git
kernel: make IdString::isPublic() const.
This commit is contained in:
parent
d1b7007e59
commit
080f311040
|
@ -376,7 +376,7 @@ namespace RTLIL
|
|||
bool in(const std::string &rhs) const { return *this == rhs; }
|
||||
bool in(const pool<IdString> &rhs) const { return rhs.count(*this) != 0; }
|
||||
|
||||
bool isPublic() { return begins_with("\\"); }
|
||||
bool isPublic() const { return begins_with("\\"); }
|
||||
};
|
||||
|
||||
namespace ID {
|
||||
|
|
Loading…
Reference in New Issue