Avoid calling IdString::c_str() in opt_clean
This commit is contained in:
committed by
Emil J. Tywoniak
parent
df8444c5e7
commit
325b27f43a
@@ -283,7 +283,7 @@ bool compare_signals(RTLIL::SigBit &s1, RTLIL::SigBit &s2, SigPool ®s, SigPoo
|
||||
if (attrs1 != attrs2)
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user