mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Fix and enforce brace new constructors. No functional change intended.
This commit is contained in:
+1
-1
@@ -550,7 +550,7 @@ private:
|
||||
VAccess::READ};
|
||||
rhsp->dtypep(rhsarrp->subDTypep()->skipRefp());
|
||||
rhsp->classOrPackagep(rhsrefp->classOrPackagep());
|
||||
AstAssign* const assignp = new AstAssign(nodep->fileline(), lhsp, rhsp);
|
||||
AstAssign* const assignp = new AstAssign{nodep->fileline(), lhsp, rhsp};
|
||||
nodep->addNextHere(assignp);
|
||||
}
|
||||
VL_DO_DANGLING(pushDeletep(nodep->unlinkFrBack()), nodep);
|
||||
|
||||
Reference in New Issue
Block a user