aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rtlil.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r--kernel/rtlil.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index f6ba9a663..c612ea769 100644
--- 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; }