mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-27 11:49:02 +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
|
@ -1024,7 +1024,7 @@ struct VerificSvaImporter
|
|||
[[noreturn]] void parser_error(std::string errmsg)
|
||||
{
|
||||
if (!importer->mode_keep)
|
||||
log_error("%s", errmsg.c_str());
|
||||
log_error("%s", errmsg);
|
||||
log_warning("%s", errmsg.c_str());
|
||||
throw ParserErrorException();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue