Fix compile error last commit (#4029)

This commit is contained in:
Wilson Snyder 2023-03-16 20:22:08 -04:00
parent bbf53bd5af
commit d1b55cb7aa

View File

@ -68,7 +68,7 @@ public:
: V3GraphVertex{graphp} : V3GraphVertex{graphp}
, m_logicp{logicp} , m_logicp{logicp}
, m_scopep{scopep} {} , m_scopep{scopep} {}
virtual V3GraphVertex* clone(V3Graph* graphp) const { V3GraphVertex* clone(V3Graph* graphp) const override {
return new LogicVertex{graphp, logicp(), scopep()}; return new LogicVertex{graphp, logicp(), scopep()};
} }
@ -90,7 +90,7 @@ public:
, m_vscp{vscp} {} , m_vscp{vscp} {}
AstVarScope* vscp() const { return m_vscp; } AstVarScope* vscp() const { return m_vscp; }
AstVar* varp() const { return m_vscp->varp(); } 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 // LCOV_EXCL_START // Debug code
string name() const override { return m_vscp->name(); } string name() const override { return m_vscp->name(); }