mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-01 21:49:31 +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
|
@ -10,7 +10,7 @@ struct MyPass : public Pass {
|
|||
{
|
||||
log("Arguments to my_cmd:\n");
|
||||
for (auto &arg : args)
|
||||
log(" %s\n", arg.c_str());
|
||||
log(" %s\n", arg);
|
||||
|
||||
log("Modules in current design:\n");
|
||||
for (auto mod : design->modules())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue