mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Cleanup some string constructors. No functional change.
This commit is contained in:
+1
-1
@@ -353,7 +353,7 @@ class ParamProcessor final {
|
||||
num = m_nextValue++;
|
||||
m_valueMap[hash] = std::make_pair(num, key);
|
||||
}
|
||||
return string("z") + cvtToStr(num);
|
||||
return std::string{"z"} + cvtToStr(num);
|
||||
}
|
||||
string moduleCalcName(const AstNodeModule* srcModp, const string& longname) {
|
||||
string newname = longname;
|
||||
|
||||
Reference in New Issue
Block a user