mirror of
https://github.com/YosysHQ/yosys
synced 2026-05-01 16:13:45 +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
|
|
@ -85,7 +85,7 @@ struct RaiseErrorPass : public Pass {
|
|||
if (use_stderr) {
|
||||
std::cerr << err_msg << std::endl;
|
||||
} else {
|
||||
log_error("%s\n", err_msg.c_str());
|
||||
log_error("%s\n", err_msg);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue