aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2020-12-12 20:50:37 +0000
committerwhitequark <whitequark@whitequark.org>2020-12-12 20:50:44 +0000
commit080f311040a0c1bb5fd877e4ad06fc613fdc3314 (patch)
treedf6da9b5c7fa2c829163f0cedf7cf96137a4dbc7 /kernel/rtlil.h
parentd1b7007e5900868401a63e96a9ace534d09af7c0 (diff)
downloadyosys-080f311040a0c1bb5fd877e4ad06fc613fdc3314.tar.gz
yosys-080f311040a0c1bb5fd877e4ad06fc613fdc3314.tar.bz2
yosys-080f311040a0c1bb5fd877e4ad06fc613fdc3314.zip
kernel: make IdString::isPublic() const.
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h2
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 {