kernel: make IdString::isPublic() const.

This commit is contained in:
whitequark 2020-12-12 20:50:37 +00:00
parent d1b7007e59
commit 080f311040
1 changed files with 1 additions and 1 deletions

View File

@ -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 {