mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Fix constructor style.
This commit is contained in:
@@ -333,6 +333,6 @@ private:
|
||||
|
||||
uint32_t V3InstrCount::count(AstNode* nodep, bool assertNoDups, std::ostream* osp) {
|
||||
const InstrCountVisitor visitor{nodep, assertNoDups, osp};
|
||||
if (osp) InstrCountDumpVisitor dumper(nodep, osp);
|
||||
if (osp) InstrCountDumpVisitor dumper{nodep, osp};
|
||||
return visitor.instrCount();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user