3
0
Fork 0
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:
Robert O'Callahan 2025-09-16 23:00:42 +00:00
parent 5ac6858f26
commit d1fd6de6da
7 changed files with 7 additions and 7 deletions

View file

@ -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;