mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-28 10:19:26 +00:00
Remove .c_str() calls from log()/log_error()
There are some leftovers, but this is an easy regex-based approach that removes most of them.
This commit is contained in:
parent
c2291c10a6
commit
e0ae7b7af4
140 changed files with 623 additions and 623 deletions
|
|
@ -369,7 +369,7 @@ struct rules_t
|
|||
attr_icase = false;
|
||||
|
||||
if (infile.fail())
|
||||
log_error("Can't open rules file `%s'.\n", filename.c_str());
|
||||
log_error("Can't open rules file `%s'.\n", filename);
|
||||
|
||||
while (next_line())
|
||||
{
|
||||
|
|
@ -1020,7 +1020,7 @@ void handle_memory(Mem &mem, const rules_t &rules, FfInitVals *initvals)
|
|||
|
||||
log(" Properties:");
|
||||
for (auto &it : match_properties)
|
||||
log(" %s=%d", it.first.c_str(), it.second);
|
||||
log(" %s=%d", it.first, it.second);
|
||||
log("\n");
|
||||
|
||||
pool<pair<IdString, int>> failed_brams;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue