mirror of
https://github.com/verilator/verilator.git
synced 2026-09-02 02:38:15 +02:00
Internals: Favor {} constructor syntax. No functional change intended.
This commit is contained in:
+1
-1
@@ -516,7 +516,7 @@ void EmitCSyms::emitSymHdr() {
|
||||
puts("\n// CONSTRUCTORS\n");
|
||||
puts(symClassName() + "(VerilatedContext* contextp, const char* namep, " + topClassName()
|
||||
+ "* modelp);\n");
|
||||
puts(string("~") + symClassName() + "();\n");
|
||||
puts(string{"~"} + symClassName() + "();\n");
|
||||
|
||||
for (const auto& i : m_usesVfinal) {
|
||||
puts("void " + symClassName() + "_" + cvtToStr(i.first) + "(");
|
||||
|
||||
Reference in New Issue
Block a user