mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 05:09:04 +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
|
@ -76,7 +76,7 @@ void write_kiss2(struct RTLIL::Module *module, struct RTLIL::Cell *cell, std::st
|
|||
kiss_file.open(kiss_name, std::ios::out | std::ios::trunc);
|
||||
|
||||
if (!kiss_file.is_open()) {
|
||||
log_error("Could not open file \"%s\" with write access.\n", kiss_name.c_str());
|
||||
log_error("Could not open file \"%s\" with write access.\n", kiss_name);
|
||||
}
|
||||
|
||||
fsm_data.copy_from_cell(cell);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue