mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 18:13:50 +02:00
Internals: Fix constructor style.
This commit is contained in:
+1
-1
@@ -106,7 +106,7 @@ private:
|
||||
? oldVarp->name()
|
||||
: nodep->scopep()->nameDotless() + "__DOT__" + oldVarp->name();
|
||||
AstVar* const newVarp
|
||||
= new AstVar(oldVarp->fileline(), oldVarp->varType(), newName, oldVarp);
|
||||
= new AstVar{oldVarp->fileline(), oldVarp->varType(), newName, oldVarp};
|
||||
newVarp->funcLocal(true);
|
||||
funcp->addInitsp(newVarp);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user