mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 05:09:04 +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
|
@ -150,7 +150,7 @@ struct ExecPass : public Pass {
|
|||
}
|
||||
}
|
||||
|
||||
log_header(design, "Executing command \"%s\".\n", cmd.c_str());
|
||||
log_header(design, "Executing command \"%s\".\n", cmd);
|
||||
log_push();
|
||||
|
||||
fflush(stdout);
|
||||
|
|
|
@ -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