diff options
author | Eddie Hung <eddie@fpgeh.com> | 2020-04-01 14:10:24 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2020-04-02 07:14:08 -0700 |
commit | 2d86563bb206748d6eef498eb27f7a004f20113d (patch) | |
tree | db99911089ff3ae3449828ee2e21ab99c07d4d24 | |
parent | 18d85b88aed1b8ee3994f30cd60c143a57fe91d5 (diff) | |
download | yosys-2d86563bb206748d6eef498eb27f7a004f20113d.tar.gz yosys-2d86563bb206748d6eef498eb27f7a004f20113d.tar.bz2 yosys-2d86563bb206748d6eef498eb27f7a004f20113d.zip |
kernel: IdString::in(const IdString &) as per @Tjoppen
-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 e12d9d049..7279835ea 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -369,7 +369,7 @@ namespace RTLIL return result; } - bool in(IdString rhs) const { return *this == rhs; } + bool in(const IdString &rhs) const { return *this == rhs; } bool in(const char *rhs) const { return *this == rhs; } bool in(const std::string &rhs) const { return *this == rhs; } bool in(const pool<IdString> &rhs) const { return rhs.count(*this) != 0; } |