diff options
author | whitequark <whitequark@whitequark.org> | 2020-12-12 20:50:37 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-12-12 20:50:44 +0000 |
commit | 080f311040a0c1bb5fd877e4ad06fc613fdc3314 (patch) | |
tree | df6da9b5c7fa2c829163f0cedf7cf96137a4dbc7 /kernel | |
parent | d1b7007e5900868401a63e96a9ace534d09af7c0 (diff) | |
download | yosys-080f311040a0c1bb5fd877e4ad06fc613fdc3314.tar.gz yosys-080f311040a0c1bb5fd877e4ad06fc613fdc3314.tar.bz2 yosys-080f311040a0c1bb5fd877e4ad06fc613fdc3314.zip |
kernel: make IdString::isPublic() const.
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rtlil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index a03e8933c..cd966b815 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -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 { |