mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-19 07:54:51 +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
|
@ -172,7 +172,7 @@ struct ExecPass : public Pass {
|
|||
std::string line = linebuf.substr(0, pos);
|
||||
linebuf.erase(0, pos + 1);
|
||||
if (!flag_quiet)
|
||||
log("%s\n", line.c_str());
|
||||
log("%s\n", line);
|
||||
|
||||
if (flag_expect_stdout)
|
||||
for(auto &x : expect_stdout)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue