mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-29 12:49:03 +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
|
@ -170,7 +170,7 @@ void SynthPropWorker::run()
|
|||
std::ofstream fout;
|
||||
fout.open(map_file, std::ios::out | std::ios::trunc);
|
||||
if (!fout.is_open())
|
||||
log_error("Could not open file \"%s\" with write access.\n", map_file.c_str());
|
||||
log_error("Could not open file \"%s\" with write access.\n", map_file);
|
||||
|
||||
for (auto name : tracing_data[module].names) {
|
||||
fout << name << std::endl;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue