Skip to content

Commit

Permalink
[Build] Fix missing virtual destructor in SIBuilder (#15022)
Browse files Browse the repository at this point in the history
fix compiler warning on SIBuilder
  • Loading branch information
masahi committed Jun 5, 2023
1 parent 3dba48b commit a74a2e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ir/si_builder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ PrimExpr TirRecursivelyFill::VisitExpr(const PrimExpr& expr) {
}

struct SIBuilder::Impl {
virtual ~Impl() {}
virtual Span Build() const { return Span(); }
virtual void RecursivelyFillSpan(const relay::Expr& entry, const RelayExprSet& inputs) const {}
virtual void RecursivelyFillSpan(const PrimExpr& entry, const PrimExprSet& inputs) const {}
Expand Down

0 comments on commit a74a2e2

Please sign in to comment.