mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 21:19:30 +00:00
Remove .c_str() calls from parameters to log_header()
This commit is contained in:
parent
5ac6858f26
commit
d1fd6de6da
7 changed files with 7 additions and 7 deletions
|
@ -107,7 +107,7 @@ struct LogPass : public Pass {
|
|||
if (to_stderr) fprintf(stderr, "%s%s", text.c_str(), line_end);
|
||||
if (to_log) {
|
||||
if (!header) log("%s%s", text, line_end);
|
||||
else log_header(design, "%s%s", text.c_str(), line_end);
|
||||
else log_header(design, "%s%s", text, line_end);
|
||||
}
|
||||
}
|
||||
} LogPass;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue