diff --git a/kernel/rtlil.cc b/kernel/rtlil.cc index 9f1ed0825..97968b5f5 100644 --- a/kernel/rtlil.cc +++ b/kernel/rtlil.cc @@ -4396,7 +4396,7 @@ RTLIL::SigSpec::SigSpec(const std::vector &bits) check(); } -RTLIL::SigSpec::SigSpec(const pool &bits) +RTLIL::SigSpec::SigSpec(pool &bits) { cover("kernel.rtlil.sigspec.init.pool_bits"); diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 4c014fb8d..e042c8055 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -1011,7 +1011,7 @@ public: SigSpec(const RTLIL::SigBit &bit, int width = 1); SigSpec(const std::vector &chunks); SigSpec(const std::vector &bits); - SigSpec(const pool &bits); + SigSpec(pool &bits); SigSpec(const std::set &bits); explicit SigSpec(bool bit);