diff --git a/src/V3AstNodeExpr.h b/src/V3AstNodeExpr.h index c5ac75048..111edca1e 100644 --- a/src/V3AstNodeExpr.h +++ b/src/V3AstNodeExpr.h @@ -987,7 +987,7 @@ public: class VerilogStringLiteral {}; // for creator type-overload selection AstConst(FileLine* fl, VerilogStringLiteral, const string& str) : ASTGEN_SUPER_Const(fl) - , m_num(V3Number::VerilogStringLiteral{}, this, str) { + , m_num{V3Number::VerilogStringLiteral{}, this, str} { initWithNumber(); } AstConst(FileLine* fl, uint32_t num) @@ -1033,7 +1033,7 @@ public: class String {}; // for creator type-overload selection AstConst(FileLine* fl, String, const string& num) : ASTGEN_SUPER_Const(fl) - , m_num(V3Number::String{}, this, num) { + , m_num{V3Number::String{}, this, num} { dtypeSetString(); } class BitFalse {}; @@ -1066,14 +1066,14 @@ public: class Null {}; AstConst(FileLine* fl, Null) : ASTGEN_SUPER_Const(fl) - , m_num(V3Number::Null{}, this) { + , m_num{V3Number::Null{}, this} { dtypeSetBit(); // Events 1 bit, objects 64 bits, so autoExtend=1 and use bit here initWithNumber(); } class OneStep {}; AstConst(FileLine* fl, OneStep) : ASTGEN_SUPER_Const(fl) - , m_num(V3Number::OneStep{}, this) { + , m_num{V3Number::OneStep{}, this} { dtypeSetLogicSized(64, VSigning::UNSIGNED); initWithNumber(); }