mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 13:19:05 +00:00
Remove .c_str() calls from parameters to log_warning()/log_warning_noprefix()
This commit is contained in:
parent
d1fd6de6da
commit
a7c46f7b4a
25 changed files with 54 additions and 54 deletions
|
@ -937,7 +937,7 @@ struct HierarchyPass : public Pass {
|
|||
const std::string &value = args[++argidx];
|
||||
auto r = parameters.emplace(key, value);
|
||||
if (!r.second) {
|
||||
log_warning("-chparam %s already specified: overwriting.\n", key.c_str());
|
||||
log_warning("-chparam %s already specified: overwriting.\n", key);
|
||||
r.first->second = value;
|
||||
}
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue