mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-30 05:46:32 +00:00
Fixed warnings found by gcc-16
This commit is contained in:
parent
e87a9bd9a7
commit
e4cbde18e1
4 changed files with 4 additions and 3 deletions
|
|
@ -148,7 +148,7 @@ struct SdcObjects {
|
|||
path += "/";
|
||||
path += name;
|
||||
design_cells.push_back(std::make_pair(path, cell));
|
||||
for (auto pin : cell->connections()) {
|
||||
for (auto& pin : cell->connections()) {
|
||||
IdString pin_name = pin.first;
|
||||
std::string pin_name_sdc = path + "/" + pin.first.str().substr(1);
|
||||
design_pins.push_back(std::make_pair(pin_name_sdc, std::make_pair(cell, pin_name)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue