3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-29 13:26:31 +00:00

Fixed warnings found by gcc-16

This commit is contained in:
Miodrag Milanovic 2026-05-18 09:44:57 +02:00
parent e87a9bd9a7
commit e4cbde18e1
4 changed files with 4 additions and 3 deletions

View file

@ -324,7 +324,7 @@ struct OptMergeThreadWorker
CellEqualOp> known_cells(0, CellHashOp(), CellEqualOp(*this));
std::vector<DuplicateCell> duplicates;
for (const std::vector<std::vector<CellHash>> &buckets : in.bucketed_cell_hashes) {
for (std::vector<std::vector<CellHash>> &buckets : in.bucketed_cell_hashes) {
// Clear out our buckets as we go. This keeps the work of deallocation
// off the main thread.
std::vector<CellHash> bucket = std::move(buckets[index]);