Skip to content

Commit

Permalink
Fix a warning on missing override in def use class. (#4547)
Browse files Browse the repository at this point in the history
  • Loading branch information
fruffy-g authored Mar 19, 2024
1 parent e961f49 commit 4906dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion midend/def_use.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ComputeDefUse : public Inspector,
public ControlFlowVisitor,
public P4WriteContext,
public P4::ResolutionContext {
ComputeDefUse *clone() const { return new ComputeDefUse(*this); }
ComputeDefUse *clone() const override { return new ComputeDefUse(*this); }
void flow_merge(Visitor &) override;
void flow_copy(ControlFlowVisitor &) override;
enum { SKIPPING, NORMAL, READ_ONLY, WRITE_ONLY } state = SKIPPING;
Expand Down

0 comments on commit 4906dd7

Please sign in to comment.