Internals: Fix constructor syntax in new develop-v5 code

This commit is contained in:
Wilson Snyder
2022-09-17 08:56:41 -04:00
parent 1234ee5fd2
commit a214fd1f78
7 changed files with 22 additions and 21 deletions
+3 -3
View File
@@ -778,7 +778,7 @@ public:
: m_pomGraphp{pomGraphp} {}
MTaskMoveVertex* makeVertexp(OrderLogicVertex* lvertexp, const OrderEitherVertex* varVertexp,
const AstSenTree* domainp) override {
return new MTaskMoveVertex(m_pomGraphp, lvertexp, varVertexp, domainp);
return new MTaskMoveVertex{m_pomGraphp, lvertexp, varVertexp, domainp};
}
private:
@@ -1264,9 +1264,9 @@ AstActive* OrderProcess::processMoveOneLogic(const OrderLogicVertex* lvertexp,
newStmtsr = 0;
scopep->addActivep(newFuncpr);
// Create top call to it
AstCCall* const callp = new AstCCall(nodep->fileline(), newFuncpr);
AstCCall* const callp = new AstCCall{nodep->fileline(), newFuncpr};
// Where will we be adding the call?
AstActive* const newActivep = new AstActive(nodep->fileline(), name, domainp);
AstActive* const newActivep = new AstActive{nodep->fileline(), name, domainp};
newActivep->addStmtsp(callp);
if (!activep) {
activep = newActivep;