From d63f1057083d625d4317da2b6934d0531129d961 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Wed, 17 Jul 2019 10:44:11 -0700 Subject: SigSpec::remove_const() to return SigSpec& --- kernel/rtlil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/rtlil.h') diff --git a/kernel/rtlil.h b/kernel/rtlil.h index 8d88cc97c..b484f5306 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -767,7 +767,7 @@ public: void remove2(const std::set &pattern, RTLIL::SigSpec *other); void remove(int offset, int length = 1); - void remove_const(); + RTLIL::SigSpec& remove_const(); RTLIL::SigSpec extract(const RTLIL::SigSpec &pattern, const RTLIL::SigSpec *other = NULL) const; RTLIL::SigSpec extract(const pool &pattern, const RTLIL::SigSpec *other = NULL) const; -- cgit v1.2.3