mirror of
https://github.com/verilator/verilator.git
synced 2026-09-05 00:41:39 +02:00
Internals: Fix constructor style.
This commit is contained in:
+2
-2
@@ -100,8 +100,8 @@ public:
|
||||
v3Global.rootp()->typeTablep()->addTypesp(tableDTypep);
|
||||
// Create table initializer (with default value 0)
|
||||
AstConst* const defaultp = elemDType->isString()
|
||||
? new AstConst{m_fl, AstConst::String(), ""}
|
||||
: new AstConst{m_fl, AstConst::WidthedValue(), width, 0};
|
||||
? new AstConst{m_fl, AstConst::String{}, ""}
|
||||
: new AstConst{m_fl, AstConst::WidthedValue{}, width, 0};
|
||||
m_initp = new AstInitArray{m_fl, tableDTypep, defaultp};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user