mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-15 10:25:45 +00:00
rtlil: avoid clang warning
This commit is contained in:
parent
0452955069
commit
ee5b8a97b9
1 changed files with 1 additions and 4 deletions
|
|
@ -1415,10 +1415,7 @@ public:
|
||||||
return chunk_vector.size();
|
return chunk_vector.size();
|
||||||
}
|
}
|
||||||
int size() const {
|
int size() const {
|
||||||
int result = 0;
|
return std::distance(begin(), end());
|
||||||
for (const SigChunk &_: *this)
|
|
||||||
++result;
|
|
||||||
return result;
|
|
||||||
}
|
}
|
||||||
const SigChunk &at(int index) {
|
const SigChunk &at(int index) {
|
||||||
ensure_chunk_vector();
|
ensure_chunk_vector();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue