aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'kernel')
-rw-r--r--kernel/rtlil.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h
index 88ed2f6a2..6bbf69602 100644
--- a/kernel/rtlil.h
+++ b/kernel/rtlil.h
@@ -504,8 +504,7 @@ public:
std::vector<RTLIL::SigChunk> &chunks() { return chunks_; }
const std::vector<RTLIL::SigChunk> &chunks() const { return chunks_; }
- int &size() { return width_; }
- const int &size() const { return width_; }
+ int size() const { return width_; }
SigSpec();
SigSpec(const RTLIL::Const &data);