mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-13 01:16:16 +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
|
@ -215,7 +215,7 @@ const char *log_signal(const RTLIL::SigSpec &sig, bool autoint)
|
|||
|
||||
const char *log_id(RTLIL::IdString str)
|
||||
{
|
||||
const char *p = str;
|
||||
const char *p = str.c_str();
|
||||
log_assert(RTLIL::IdString::global_refcount_storage_[str.index_] > 1);
|
||||
if (p[0] == '\\' && p[1] != '$' && p[1] != 0)
|
||||
return p+1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue