mirror of
https://github.com/verilator/verilator.git
synced 2026-10-07 10:33:13 +02:00
Internals: Cleanup string casts. No functional change.
This commit is contained in:
+1
-1
@@ -151,7 +151,7 @@ private:
|
||||
}
|
||||
|
||||
AstVar* getBlockTemp(AstNode* nodep) {
|
||||
string newvarname = ((string)"__Vtemp"+cvtToStr(m_modp->varNumGetInc()));
|
||||
string newvarname = (string("__Vtemp")+cvtToStr(m_modp->varNumGetInc()));
|
||||
AstVar* varp = new AstVar(nodep->fileline(), AstVarType::STMTTEMP, newvarname,
|
||||
nodep->dtypep());
|
||||
m_funcp->addInitsp(varp);
|
||||
|
||||
Reference in New Issue
Block a user