From: Eddie Hung Date: Sun, 15 Mar 2020 16:11:44 +0000 (-0700) Subject: Revert "kernel: IdString:in() to use perfect forwarding" X-Git-Tag: working-ls180~697^2~4 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ba13a40ef4b2aa0f47debdfd1b0a3482aaef3887;p=yosys.git Revert "kernel: IdString:in() to use perfect forwarding" This reverts commit 7b2a85aedf24affc2e1202c78e70e6a317f5bf29. --- 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; }