From 7bffde6abdaf6fc2ed090946442f90b2438e6126 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Tue, 22 Jul 2014 20:39:13 +0200 Subject: SigSpec refactoring: change RTLIL::SigSpec::size() to be read-only --- kernel/rtlil.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'kernel') 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 &chunks() { return chunks_; } const std::vector &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); -- cgit v1.2.3