mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-29 20:59:03 +00:00
Remove .c_str() from log_cmd_error() and log_file_error() parameters
This commit is contained in:
parent
b95549b469
commit
5ac6858f26
59 changed files with 163 additions and 163 deletions
|
@ -42,7 +42,7 @@ struct ConnwrappersWorker
|
|||
decl_celltypes.insert(key.first);
|
||||
|
||||
if (decls.count(key))
|
||||
log_cmd_error("Duplicate port decl: %s %s\n", celltype.c_str(), portname.c_str());
|
||||
log_cmd_error("Duplicate port decl: %s %s\n", celltype, portname);
|
||||
|
||||
portdecl_t decl;
|
||||
decl.widthparam = RTLIL::escape_id(widthparam);
|
||||
|
@ -57,7 +57,7 @@ struct ConnwrappersWorker
|
|||
decl_celltypes.insert(key.first);
|
||||
|
||||
if (decls.count(key))
|
||||
log_cmd_error("Duplicate port decl: %s %s\n", celltype.c_str(), portname.c_str());
|
||||
log_cmd_error("Duplicate port decl: %s %s\n", celltype, portname);
|
||||
|
||||
portdecl_t decl;
|
||||
decl.widthparam = RTLIL::escape_id(widthparam);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue