diff --git a/kernel/rtlil.h b/kernel/rtlil.h index e0de79ea9..ea358d83b 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -411,7 +411,7 @@ struct RTLIL::IdString // often one needs to check if a given IdString is part of a list (for example a list // of cell types). the following functions helps with that. template - bool in(Args... args) const { + bool in(const Args &... args) const { return (... || in(args)); }