3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-01-26 03:48:44 +00:00

Remove IdString::id_string().

This was needed for the short time when `ID()` could return a value of `StaticIdString`.
That is no longer a problem.
This commit is contained in:
Robert O'Callahan 2025-12-22 01:57:30 +00:00
parent 46cb05c471
commit 48cdb499f2
2 changed files with 1 additions and 3 deletions

View file

@ -241,8 +241,6 @@ struct RTLIL::IdString
*this = id;
}
constexpr inline IdString id_string() const { return *this; }
inline const char *c_str() const {
if (index_ >= 0)
return global_id_storage_.at(index_).buf;