From ba13a40ef4b2aa0f47debdfd1b0a3482aaef3887 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Sun, 15 Mar 2020 09:11:44 -0700 Subject: [PATCH] Revert "kernel: IdString:in() to use perfect forwarding" This reverts commit 7b2a85aedf24affc2e1202c78e70e6a317f5bf29. --- kernel/rtlil.h | 4 ++-- 1 file 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 - bool in(T first, Args&&... rest) const { - return in(first) || in(std::forward(rest)...); + bool in(T first, Args... rest) const { + return in(first) || in(rest...); } bool in(IdString rhs) const { return *this == rhs; } -- 2.30.2