From d1b55cb7aa93ba093689cf44ddfcbda420da69ac Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Thu, 16 Mar 2023 20:22:08 -0400 Subject: [PATCH] Fix compile error last commit (#4029) --- src/V3SchedAcyclic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3SchedAcyclic.cpp b/src/V3SchedAcyclic.cpp index 412ac0070..bed28d66d 100644 --- a/src/V3SchedAcyclic.cpp +++ b/src/V3SchedAcyclic.cpp @@ -68,7 +68,7 @@ public: : V3GraphVertex{graphp} , m_logicp{logicp} , m_scopep{scopep} {} - virtual V3GraphVertex* clone(V3Graph* graphp) const { + V3GraphVertex* clone(V3Graph* graphp) const override { return new LogicVertex{graphp, logicp(), scopep()}; } @@ -90,7 +90,7 @@ public: , m_vscp{vscp} {} AstVarScope* vscp() const { return m_vscp; } AstVar* varp() const { return m_vscp->varp(); } - virtual V3GraphVertex* clone(V3Graph* graphp) const { return new VarVertex{graphp, vscp()}; } + V3GraphVertex* clone(V3Graph* graphp) const override { return new VarVertex{graphp, vscp()}; } // LCOV_EXCL_START // Debug code string name() const override { return m_vscp->name(); }