projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dde3dfd
)
Revert "kernel: IdString:in() to use perfect forwarding"
author
Eddie Hung
<eddie@fpgeh.com>
Sun, 15 Mar 2020 16:11:44 +0000
(09:11 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Thu, 2 Apr 2020 14:14:08 +0000
(07:14 -0700)
This reverts commit
7b2a85aedf24affc2e1202c78e70e6a317f5bf29
.
kernel/rtlil.h
patch
|
blob
|
history
diff --git
a/kernel/rtlil.h
b/kernel/rtlil.h
index f6ba9a66374d6c0fb6fbba59af3fb841ed5556e4..c612ea769445566317df05dd0d344adc202f80bd 100644
(file)
--- a/
kernel/rtlil.h
+++ b/
kernel/rtlil.h
@@
-362,8
+362,8
@@
namespace RTLIL
// of cell types). the following functions helps with that.
template<typename T, typename... Args>
- bool in(T first, Args
&&
... rest) const {
- return in(first) || in(
std::forward<Args>(rest)
...);
+ bool in(T first, Args... rest) const {
+ return in(first) || in(
rest
...);
}
bool in(IdString rhs) const { return *this == rhs; }