mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-05 13:56:04 +00:00
Avoid calling IdString::c_str() in opt_clean
This commit is contained in:
parent
a534fda855
commit
e4a5bd7cb2
1 changed files with 1 additions and 1 deletions
|
|
@ -283,7 +283,7 @@ bool compare_signals(RTLIL::SigBit &s1, RTLIL::SigBit &s2, SigPool ®s, SigPoo
|
||||||
if (attrs1 != attrs2)
|
if (attrs1 != attrs2)
|
||||||
return attrs2 > attrs1;
|
return attrs2 > attrs1;
|
||||||
|
|
||||||
return strcmp(w2->name.c_str(), w1->name.c_str()) < 0;
|
return w2->name.lt_by_name(w1->name);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool check_public_name(RTLIL::IdString id)
|
bool check_public_name(RTLIL::IdString id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue