mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-05 19:00:26 +00:00
No implicit conversion from IdString to anything else
This commit is contained in:
parent
768eb846c4
commit
04727c7e0f
16 changed files with 37 additions and 37 deletions
|
@ -192,7 +192,7 @@ struct DesignPass : public Pass {
|
|||
|
||||
for (auto mod : copy_src_modules)
|
||||
{
|
||||
std::string trg_name = as_name.empty() ? std::string(mod->name) : RTLIL::escape_id(as_name);
|
||||
std::string trg_name = as_name.empty() ? mod->name.str() : RTLIL::escape_id(as_name);
|
||||
|
||||
if (copy_to_design->modules_.count(trg_name))
|
||||
delete copy_to_design->modules_.at(trg_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue