diff options
author | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-03-16 20:32:46 +0000 |
---|---|---|
committer | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-03-16 20:35:19 +0000 |
commit | 9d9bbdce5d0b16d3e615837d5777bab7e71ce25b (patch) | |
tree | cae7ac8eb3cd2b7ee1e7158930bcf5c02bf927d6 /kernel/rtlil.h | |
parent | 70093698f58e36ee9ea285a08bc79fefae752048 (diff) | |
download | yosys-9d9bbdce5d0b16d3e615837d5777bab7e71ce25b.tar.gz yosys-9d9bbdce5d0b16d3e615837d5777bab7e71ce25b.tar.bz2 yosys-9d9bbdce5d0b16d3e615837d5777bab7e71ce25b.zip |
Further clean up `passes/cmds/select.cc`.
Co-Authored-By: Eddie Hung <eddie@fpgeh.com>
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 10c4c3b5b..58c5d9674 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -560,7 +560,6 @@ namespace RTLIL ObjRange(decltype(list_p) list_p, int *refcount_p) : list_p(list_p), refcount_p(refcount_p) { } RTLIL::ObjIterator<T> begin() { return RTLIL::ObjIterator<T>(list_p, refcount_p); } RTLIL::ObjIterator<T> end() { return RTLIL::ObjIterator<T>(); } - bool contains(const RTLIL::IdString &what) { return (list_p->count(what) > 0); } size_t size() const { return list_p->size(); |