From 0a94ea53863e728ef795623ddd9033151ae16ed5 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sun, 12 Dec 2021 19:53:20 -0500 Subject: [PATCH] Fix missing override --- src/V3AstNodes.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/V3AstNodes.h b/src/V3AstNodes.h index 99925319e..ac6a829a5 100644 --- a/src/V3AstNodes.h +++ b/src/V3AstNodes.h @@ -1410,7 +1410,7 @@ public: virtual void dumpSmall(std::ostream& str) const override; virtual bool hasDType() const override { return true; } virtual bool maybePointedTo() const override { return true; } - virtual bool undead() const { return true; } + virtual bool undead() const override { return true; } virtual AstNodeDType* subDTypep() const override { return nullptr; } virtual AstNodeDType* virtRefDTypep() const override { return nullptr; } virtual void virtRefDTypep(AstNodeDType* nodep) override {} @@ -1438,7 +1438,7 @@ public: virtual void dumpSmall(std::ostream& str) const override; virtual bool hasDType() const override { return true; } virtual bool maybePointedTo() const override { return true; } - virtual bool undead() const { return true; } + virtual bool undead() const override { return true; } virtual AstNodeDType* subDTypep() const override { return nullptr; } virtual AstNodeDType* virtRefDTypep() const override { return nullptr; } virtual void virtRefDTypep(AstNodeDType* nodep) override {}