From: whitequark Date: Sat, 12 Dec 2020 20:50:37 +0000 (+0000) Subject: kernel: make IdString::isPublic() const. X-Git-Tag: working-ls180~161^2~8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=080f311040a0c1bb5fd877e4ad06fc613fdc3314;p=yosys.git kernel: make IdString::isPublic() const. --- 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 &rhs) const { return rhs.count(*this) != 0; } - bool isPublic() { return begins_with("\\"); } + bool isPublic() const { return begins_with("\\"); } }; namespace ID {