aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-22 20:39:13 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-22 20:39:38 +0200
commit7bffde6abdaf6fc2ed090946442f90b2438e6126 (patch)
tree24091283baf740e0ffd5b347da84771ed28791a7 /kernel
parent4b4048bc5feba1ab05c7a63f12c0a17879cb7e04 (diff)
downloadyosys-7bffde6abdaf6fc2ed090946442f90b2438e6126.tar.gz
yosys-7bffde6abdaf6fc2ed090946442f90b2438e6126.tar.bz2
yosys-7bffde6abdaf6fc2ed090946442f90b2438e6126.zip
SigSpec refactoring: change RTLIL::SigSpec::size() to be read-only
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);